Share via


HelperPage.Session Property

Gets the HttpSessionState object for the current HTTP request.

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

Syntax

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

value = HelperPage.Session
public static HttpSessionStateBase Session { get; }
public:
static property HttpSessionStateBase^ Session {
    HttpSessionStateBase^ get ();
}
static member Session : HttpSessionStateBase
static function get Session () : HttpSessionStateBase

Property Value

Type: System.Web.HttpSessionStateBase
The HttpSessionState object for the current HTTP request.

See Also

Reference

HelperPage Class

System.Web.WebPages Namespace