This documentation is archived and is not being maintained.

HttpApplication.Session Property

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

[Visual Basic]
Public ReadOnly Property Session As HttpSessionState
public HttpSessionState Session {get;}
public: __property HttpSessionState* get_Session();
public function get Session() : HttpSessionState;

Property Value

The HttpSessionState for the current session.


Exception Type Condition
HttpException The HttpSessionState is a null reference (Nothing in Visual Basic).


Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

HttpApplication Class | HttpApplication Members | System.Web Namespace