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

HttpApplication.Session Property

Gets the intrinsic session object that provides access to session data.

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

[BrowsableAttribute(false)]
public HttpSessionState Session { get; }

Property Value

Type: System.Web.SessionState.HttpSessionState
The HttpSessionState object for the current session.

ExceptionCondition
HttpException

The HttpSessionState object is null.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1
Show:
© 2015 Microsoft