HttpContextBase::Session Property

 

When overridden in a derived class, gets the HttpSessionState object for the current HTTP request.

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

public:
property HttpSessionStateBase^ Session {
	virtual HttpSessionStateBase^ get();
}

Property Value

Type: System.Web::HttpSessionStateBase^

The session-state object for the current HTTP request.

Exception Condition
NotImplementedException

Always.

.NET Framework
Available since 3.5
Return to top
Show: