HttpSessionState Properties

HttpSessionState Properties

 

Namespace:   System.Web.SessionState
Assembly:  System.Web (in System.Web.dll)

NameDescription
System_CAPS_pubpropertyCodePage

Gets or sets the character-set identifier for the current session.

System_CAPS_pubpropertyContents

Gets a reference to the current session-state object.

System_CAPS_pubpropertyCookieMode

Gets a value that indicates whether the application is configured for cookieless sessions.

System_CAPS_pubpropertyCount

Gets the number of items in the session-state collection.

System_CAPS_pubpropertyIsCookieless

Gets a value indicating whether the session ID is embedded in the URL or stored in an HTTP cookie.

System_CAPS_pubpropertyIsNewSession

Gets a value indicating whether the session was created with the current request.

System_CAPS_pubpropertyIsReadOnly

Gets a value indicating whether the session is read-only.

System_CAPS_pubpropertyIsSynchronized

Gets a value indicating whether access to the collection of session-state values is synchronized (thread safe).

System_CAPS_pubpropertyItem[Int32]

Gets or sets a session value by numerical index.

System_CAPS_pubpropertyItem[String]

Gets or sets a session value by name.

System_CAPS_pubpropertyKeys

Gets a collection of the keys for all values stored in the session-state collection.

System_CAPS_pubpropertyLCID

Gets or sets the locale identifier (LCID) of the current session.

System_CAPS_pubpropertyMode

Gets the current session-state mode.

System_CAPS_pubpropertySessionID

Gets the unique identifier for the session.

System_CAPS_pubpropertyStaticObjects

Gets a collection of objects declared by <object Runat="Server" Scope="Session"/> tags within the ASP.NET application file Global.asax.

System_CAPS_pubpropertySyncRoot

Gets an object that can be used to synchronize access to the collection of session-state values.

System_CAPS_pubpropertyTimeout

Gets and sets the amount of time, in minutes, allowed between requests before the session-state provider terminates the session.

Return to top
Show:
© 2016 Microsoft