OBJECT:  Session

Modified in version 3.0

The first time a user makes a document request, a Session object is assigned to the user and it is used to store, share, and retrieve information concerning the user session. By default, the Session object is destroyed after a session has been idle for twenty minutes.

PROPERTIES

CodePage Property
The CodePage property specifies the server codepage that will be used to display dynamic content.

LCID Property
The LCID property specifies the location identifier that will be used to display dynamic content.

SessionID Property
The SessionID property returns the unique identifier for a user session.

Timeout Property
The Timeout property is the length of time in minutes before an idle session is terminated.

COLLECTION PROPERTIES

Contents Collection Property
The Contents collection property contains all of the items that have been created and added to the Session object through script commands, rather than using the HTML <OBJECT> tag.

StaticObjects Collection Property
The StaticObjects collection property contains all of the items created in the Global.asa file using the HTML <OBJECT> tag within the scope of the Session object.

METHODS

Abandon Method
The Abandon method terminates a user session, destroys all data and objects in the current Session object, and releases its resources.

Contents.Remove Method  Implemented in version 3.0
The Contents.Remove method is used to remove a single item from a Contents collection.

Contents.RemoveAll Method  Implemented in version 3.0
The Contents.RemoveAll method is used to remove all items from a Contents collection.

EVENTS

OnEnd Event
The OnEnd event occurs when the Session quits. The signal of this event will run a handler script in the Global.asa file, if the script exists.

OnStart Event
The OnStart event occurs before the start of any new Session by a user. The signal of this event will run a handler script in the Global.asa file, if the script exists.



Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information