Mode Property

HttpSessionStateContainer.Mode Property


Gets the current session-state mode.

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

public SessionStateMode Mode { get; }

Property Value

Type: System.Web.SessionState.SessionStateMode

One of the SessionStateMode values.

For information about how to configure your server for StateServer or SQLServer session-state storage mode, see ASP.NET Session State Overview.

.NET Framework
Available since 2.0
Return to top
© 2015 Microsoft