The StaticObjects collection contains all the objects created in Global.asa with the <OBJECT> tag and given session scope. The collection can be used to retrieve the value of a specific item, or you can use an iterator to retrieve all the items in the collection.
Session.StaticObjects( key )
The item to retrieve.
You can use an iterating control structure to loop through the keys of the StaticObjects collection. This is demonstrated in the following example.
For Each objprop in Session.StaticObjects
Response.write(objproperty & " : " & Session.StaticObjects(objprop) & "<BR>")
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.