IHttpSessionState Members
.NET Framework 3.0
The following tables list the members exposed by the IHttpSessionState type.
| Name | Description | |
|---|---|---|
| CodePage | Gets or sets the code-page identifier for the current session. |
| CookieMode | Gets a value that indicates whether the application is configured for cookieless sessions. |
| Count | Gets the number of items in the session-state item 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-state item values. |
| Keys | Gets a collection of the keys for all values stored in the session-state item collection. |
| LCID | Gets or sets the locale identifier (LCID) of the current session. |
| Mode | Gets the current session-state mode. |
| SessionID | Gets the unique session identifier for 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. |
| Name | Description | |
|---|---|---|
| Abandon | Ends the current session. |
| Add | Adds a new item to the session-state collection. |
| Clear | Clears all values from the session-state item collection. |
| CopyTo | Copies the collection of session-state item values to a one-dimensional array, starting at the specified index in the array. |
| GetEnumerator | Returns an enumerator that can be used to read all the session-state item values in the current session. |
| Remove | Deletes an item from the session-state item collection. |
| RemoveAll | Clears all values from the session-state item collection. |
| RemoveAt | Deletes an item at a specified index from the session-state item collection. |
Reference
IHttpSessionState InterfaceSystem.Web.SessionState Namespace
Other Resources
ASP.NET Session StateCommunity Additions
ADD
Show: