IControllerFactory.GetControllerSessionBehavior Method
Gets the controller's session behavior.
Namespace: System.Web.Mvc
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: