You can use the Session class object of the com.ms.iis.asp package to store 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.
The Web server automatically creates a Session object when a Web page 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.
One common use for the Session object is to store user preferences set on a previous visit to the Web application (such as high, medium, or low graphics).
public Session(com.ms.asp.ISessionObject) extends ObjectDictionary; { //Methods public void abandon(); public int getCodePage(); public int getLCID(); public String getSessionID(); public int getTimeout(); public void setCodePage(int cp); public void setLCID(int lcid); public void setTimeout(int timeout); public ObjectDictionary staticObjects(); }