The Web server automatically creates a session when a Web page in the application is opened by a user who does not have a session. The server destroys the session either when it times out, or the Abandon method is called.
The session has two events, a Session_OnStart event and a Session_OnEnd event.
You can specify script for these events in the global file, Global.asa. When the session starts, the server looks in the Global.asa file and processes the Session_OnStart event script. This script is processed before the page that the user requested. When the session ends, the server processes the Session_OnEnd event script.
© Microsoft Corporation. All rights reserved.
file: /Techref/language/asp/OBJ/global_4.htm, 1KB, , updated: 1996/11/21 18:01, local time: 2024/12/22 04:58,
18.117.254.177:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://massmind.org/techref/language/asp/OBJ/global_4.htm"> Session Events</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to massmind.org! |
.