Controller.Session Property

Visual Studio 2010

Gets the HttpSessionStateBase object for the current HTTP request.

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

public HttpSessionStateBase Session { get; }

Property Value

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

Community Additions

ADD
Show: