Session.Contents
collectionSession object.Session.Contents(name)= value' set an session valueSession(name)= value' same thing, since Contents is the default member ofSession Session(name)' use the valueSession.Contents.Remove name' remove the valueSession.Contents.RemoveAll' remove all session values
The Contents collection is an
associative array that maps key strings to values, available to the
entire application. This is similar to the Application.Contents
collection, but do not require locking to change, since only a single
client has access to a session.
The Contents collection can only
store certain primitive values, like dates and times, numbers,
strings, and some arrays. The collection cannot store more complex
objects, such as COM objects (see Session.StaticObjects
collection), JScript associative arrays and
objects, PerlScript hashes and objects, etc.
Session.Contents Members Remove(name)
method (ASP 3.0)Deletes the specified item from the collection.
RemoveAll() method (ASP 3.0)Deletes all items from the collection.