Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

System.Web.SessionState Namespace

The System.Web.SessionState namespace supplies classes and interfaces that enable storage of data specific to a single client within a Web application on the server. The session-state data is used to give the client the appearance of a persistent connection with the application. State information can be stored within local process memory or, for Web farm configurations, it can be stored out of process using either the ASP.NET State service or a SQL Server database.

Session state can be used with clients that do not support cookies. ASP.NET can be configured to encode a session ID in the URL string that is transmitted between the client and the server.

Namespace hierarchy

Classes

Class Description
HttpSessionState Provides access to session-state values as well as session-level settings and lifetime management methods.
SessionStateModule Provides session-state services for an application.

Interfaces

Interface Description
IReadOnlySessionState Specifies that the target HTTP handler interface has read-only access to session-state values. This is a marker interface only and has no methods.
IRequiresSessionState Specifies that the target HTTP handler interface has read and write access to session-state values. This is a marker interface only and has no methods.

Enumerations

Enumeration Description
SessionStateMode Specifies the session-state mode.

See Also

.NET Framework Class Library

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.