IControllerFactory.GetControllerSessionBehavior Method (RequestContext, String)
Gets the controller's session behavior.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
SessionStateBehavior GetControllerSessionBehavior(
RequestContext requestContext,
string controllerName
)
Parameters
- requestContext
-
Type:
System.Web.Routing.RequestContext
The request context.
- controllerName
-
Type:
System.String
The name of the controller whose session behavior you want to get.
Show: