Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetControllerSessionBehavior Method
Collapse the table of content
Expand the table of content

IControllerFactory.GetControllerSessionBehavior Method (RequestContext, String)

 

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.

Return Value

Type: System.Web.SessionState.SessionStateBehavior

The controller's session behavior.

Return to top
Show:
© 2015 Microsoft