Session Class Methods

The Session class provides the following methods:

abandon destroys all objects that have been created with Session scope and releases their resources.
getCodePage returns an integer indicating the code page that will be used to generate dynamic content.
getLCID returns an integer indicating the location identifier that will be used to generate dynamic content during the session.
getSessionID returns an integer that is the identifier set for the session.
getTimeout returns an integer indicating the amount of time in minutes that can elapse before the session becomes invalid.
setCodePage establishes the code page that will be used to generate dynamic content.
setLCID establishes the location identifier that will be used to generate dynamic content during the session.
setTimeout establishes the period of time that can elapse before the session becomes invalid.
staticObjects returns an ObjectDictionary that contains all the objects that have been created with session scope.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.