HttpApplication.Session Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on 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)

public HttpSessionState Session { get; }

Property Value

Type: System.Web.SessionState.HttpSessionState

The HttpSessionState object for the current session.

Exception Condition

The HttpSessionState object is null.

.NET Framework
Available since 1.1
Return to top