Gets the intrinsic session object that provides access to session data.
[Visual Basic]
Public ReadOnly Property Session As HttpSessionState
[C#]
public HttpSessionState Session {get;}
[C++]
public: __property HttpSessionState* get_Session();
[JScript]
public function get Session() : HttpSessionState; Property Value
The HttpSessionState for the current session.
Exceptions
| Exception Type | Condition |
| HttpException | The HttpSessionState is a null reference (Nothing in Visual Basic). |
Requirements
Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family
See Also
HttpApplication Class | HttpApplication Members | System.Web Namespace