HttpContextWrapper.SetSessionStateBehavior Method (SessionStateBehavior)

.NET Framework (current version)
 

Sets the type of session state behavior that is required in order to support an HTTP request.

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

Public Overrides Sub SetSessionStateBehavior (
	sessionStateBehavior As SessionStateBehavior
)

Parameters

sessionStateBehavior
Type: System.Web.SessionState.SessionStateBehavior

One of the enumeration values that specifies what type of session state behavior is required.

The SetSessionStateBehavior method overrides the base SetSessionStateBehavior method. To implement the base method, the SetSessionStateBehavior method calls the SetSessionStateBehavior method of the HttpContext class and passes the sessionStateBehavior setting.

.NET Framework
Available since 4.0
Return to top
Show: