IControllerFactory.GetControllerSessionBehavior Method

Definition

Gets the controller's session behavior.

public System.Web.SessionState.SessionStateBehavior GetControllerSessionBehavior (System.Web.Routing.RequestContext requestContext, string controllerName);
abstract member GetControllerSessionBehavior : System.Web.Routing.RequestContext * string -> System.Web.SessionState.SessionStateBehavior
Public Function GetControllerSessionBehavior (requestContext As RequestContext, controllerName As String) As SessionStateBehavior

Parameters

requestContext
RequestContext

The request context.

controllerName
String

The name of the controller whose session behavior you want to get.

Returns

The controller's session behavior.

Applies to