Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DefaultControllerFactory.GetControllerSessionBehavior Method (RequestContext, Type)

 

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.

Return Value

Type: System.Web.SessionState.SessionStateBehavior

The controller's session behavior.

Return to top
Show:
© 2015 Microsoft