HttpApplication.Session Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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.

Exception Condition
HttpException

The HttpSessionState object is null.

.NET Framework
Available since 1.1
Return to top
Show: