SessionStateMode Enumeration

Specifies the session-state mode.

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

public enum class SessionStateMode
public enum SessionStateMode
public enum SessionStateMode

 Member nameDescription
CustomSession state is using a custom data store to store session-state information. 
InProcSession state is in process with an ASP.NET worker process. 
OffSession state is disabled. 
SQLServerSession state is using an out-of-process SQL Server database to store state information. 
StateServerSession state is using the out-of-process ASP.NET State Service to store state information. 

The session-state mode is set in the configuration file.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0