Printer Friendly Version      Send     
Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
Previous Versions
.NET Framework 1.1
.NET Framework
Reference
System.Web
Properties
 Session Property
This page is specific to
Microsoft Visual Studio 2003/.NET Framework 1.1

Other versions are also available for the following:
.NET Framework Class Library
HttpApplication.Session Property

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

© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker