System.Web.SessionState.HttpSessionState: Property Members

The properties of System.Web.SessionState.HttpSessionState are listed below. For a list of all members, see the HttpSessionState Members list.

See Also: Inherited members from System.Object

Public Properties

CodePageint.

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

[read-only]
ContentsHttpSessionState.

Gets a reference to the current session-state object.

[read-only]
Countint.

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

[read-only]
IsCookielessbool.

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

[read-only]
IsNewSessionbool.

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

[read-only]
IsReadOnlybool.

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

[read-only]
IsSynchronizedbool.

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

default property
Item(int)object. Documentation for this section has not yet been entered.
default property
Item(string)object. Documentation for this section has not yet been entered.
[read-only]
KeysSystem.Collections.Specialized.NameObjectCollectionBase.KeysCollection.

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

LCIDint.

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

[read-only]
ModeSessionStateMode.

Gets the current session-state mode.

[read-only]
SessionIDstring.

Gets the unique identifier for the session.

[read-only]
StaticObjectsSystem.Web.HttpStaticObjectsCollection.

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

[read-only]
SyncRootobject.

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

Timeoutint.

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