Product Home Page | Developer Site | Version | |
The Session object stores information needed for a particular user-session.
Variables stored in the Session object are not discarded when the user jumps between pages in the application, but rather persist for the entire user-session. The Web server automatically creates a Session object when a Web page (from a server application) is requested by a user who does not already have a session. The server destroys the Session object when the session expires or is abandoned.
The AllowSessionState registry or configuration file setting controls the creation of Session objects. If AllowSessionState is set to FALSE
, the Session object cannot be used. The default is to use Sessions.
Session object event scripts are declared in the global.asa.
Note | Session state is only maintained for browsers that support cookies. |
In this section:
ASP Session Object Collections
Copyright © 2003 Sun Microsystems, Inc. All rights reserved.