
634
|
Chapter 35: The System.Web.SessionState Namespace
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
Implemented By
IReadOnlySessionState
IStateRuntime
System.Web.SessionState (system.web.dll)
interface
This interface defines a contract for the StateRuntime class.
Implemented By
StateRuntime
SessionStateMode
System.Web.SessionState (system.web.dll)
serializable
enum
This enumeration allows you to identify the type of ASP.NET session storage by using
the HttpSessionState.Mode property. It also allows you to specify it by using the mode
attribute of the <sessionState> tag in the web.config file (for example, <sessionState
mode="SQLServer">).
Session state can be stored locally in the ASP.NET process (InProc, the method used in
traditional ASP applications), in a separate server (StateServer), or serialized to a tempo-
rary table in an SQL Server database (SQLServer), which the ASP.NET worker processes
access and manage automatically. Note that both StateServer and SQLServer methods allow
state to be shared across servers in web farm/web garden scenarios and retained in the
case of a server restart.
Hierarchy
System.Object ➝ System.ValueType ➝ System.Enum(System.IComparable, System.IFor-
mattable, System.IConvertible)
➝ SessionStateMode
Returned By
HttpSessionState.Mode
SessionStateModule
System.Web.SessionState (system.web.dll)
sealed class
This ...