DefaultControllerFactory.GetControllerSessionBehavior Method
Returns the controller's session behavior.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
protected internal virtual SessionStateBehavior GetControllerSessionBehavior( RequestContext requestContext, Type controllerType )
Parameters
- requestContext
- Type: System.Web.Routing.RequestContext
The request context.
- controllerType
- Type: System.Type
The type of the controller.
Show: