This documentation is archived and is not being maintained.
HttpSessionState Properties
.NET Framework 1.1
The properties of the HttpSessionState class are listed here. For a complete list of HttpSessionState class members, see the HttpSessionState Members topic.
Public Properties
CodePage | Gets or sets the code page identifier for the current session. |
Contents | Gets a reference to the current session-state object. |
Count | Gets the number of items in the session-state collection. |
IsCookieless | Gets a value indicating whether the session ID is embedded in the URL or stored in an HTTP cookie. |
IsNewSession | Gets a value indicating whether the session was created with the current request. |
IsReadOnly | Gets a value indicating whether the session is read-only. |
IsSynchronized | Gets a value indicating whether access to the collection of session-state values is synchronized (thread safe). |
Item | Overloaded. Gets or sets individual session values.
In C#, this property is the indexer for the HttpSessionState class. |
Keys | Gets a collection of the keys of all values stored in the session. |
LCID | Gets or sets the locale identifier (LCID) of the current session. |
Mode | Gets the current session-state mode. |
SessionID | Gets the unique session ID used to identify the session. |
StaticObjects | Gets a collection of objects declared by <object Runat="Server" Scope="Session"/> tags within the ASP.NET application file global.asax. |
SyncRoot | Gets an object that can be used to synchronize access to the collection of session-state values. |
Timeout | Gets and sets the time-out period (in minutes) allowed between requests before the session-state provider terminates the session. |
See Also
Show:
