Session object| Contents | ASP | |
|---|---|---|
| Session.Abandon method | Closes the session, freeing up all associated resources. | 1 |
| Session.CodePage property | Sets the code page (Windows character set) for a session. | 1 |
| Session.Contents collection | Collection of variables stored in the Session object. | 1 |
| Session.LCID property | Sets the locale ID for a session. | 1 |
| Session.SessionID property | Returns this session identifier. | 1 |
| Session.StaticObjects collection | Collection of session objects declared in the global.asa file. | 1 |
| Session.Timeout property | Number of minutes of inactivity before this session times out. | 1 |
Using the Session object requires that
sessions be enabled for the application. Otherwise, an error will
occur.
User sessions require the client to support and accept cookies in order to function properly. It is a good idea to configure your server to support P3P, in order to support newer browsers with more paranoid privacy settings.