IControllerFactory.GetControllerSessionBehavior(RequestContext, String) IControllerFactory.GetControllerSessionBehavior(RequestContext, String) 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

Parameters

requestContext
RequestContext RequestContext

The request context.

controllerName
String String

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

Returns

The controller's session behavior.

Applies to