Export (0) Print
Expand All

Controller.Session Property

Gets the HttpSessionStateBase object for the current HTTP request.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

'Declaration
Public ReadOnly Property Session As HttpSessionStateBase 
	Get
'Usage
Dim instance As Controller 
Dim value As HttpSessionStateBase 

value = instance.Session

Property Value

Type: System.Web.HttpSessionStateBase
The HTTP session-state object for the current HTTP request.
Show:
© 2015 Microsoft