Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
HttpSessionStateContainer Properties

HttpSessionStateContainer Properties

The HttpSessionStateContainer type exposes the following members.

  Name Description
Public property CodePage Gets or sets the character-set identifier for the current session.
Public property CookieMode Gets a value that indicates whether the application is configured for cookieless sessions.
Public property Count Gets the number of items in the session-state collection.
Public property IsAbandoned Gets a value indicating whether the current session has been abandoned.
Public property IsCookieless Gets a value indicating whether the session ID is embedded in the URL or stored in an HTTP cookie.
Public property IsNewSession Gets a value indicating whether the session was created with the current request.
Public property IsReadOnly Gets a value indicating whether the session is read-only.
Public property IsSynchronized Gets a value indicating whether access to the collection of session-state values is synchronized (thread safe).
Public property Item[Int32] Gets or sets a session value by numerical index.
Public property Item[String] Gets or sets a session value by name.
Public property Keys Gets a collection of the keys for all values stored in the session-state collection.
Public property LCID Gets or sets the locale identifier (LCID) of the current session.
Public property Mode Gets the current session-state mode.
Public property SessionID Gets the unique identifier for the session.
Public property StaticObjects Gets a collection of objects declared by <object Runat="Server" Scope="Session"/> tags within the ASP.NET application file Global.asax.
Public property SyncRoot Gets an object that can be used to synchronize access to the collection of session-state values.
Public property Timeout Gets and sets the amount of time, in minutes, allowed between requests before the session-state provider terminates the session.
Top
Show:
© 2015 Microsoft