SessionStateMode Enumeration

SessionStateMode Enumeration

 

Specifies the session-state mode.

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

public enum SessionStateMode

Member nameDescription
Custom

Session state is using a custom data store to store session-state information.

InProc

Session state is in process with an ASP.NET worker process.

Off

Session state is disabled.

SQLServer

Session state is using an out-of-process SQL Server database to store state information.

StateServer

Session 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.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft