This documentation is archived and is not being maintained.

HttpSessionState.Contents Property

Gets a reference to the current session-state object.

[Visual Basic]
Public ReadOnly Property Contents As HttpSessionState
[C#]
public HttpSessionState Contents {get;}
[C++]
public: __property HttpSessionState* get_Contents();
[JScript]
public function get Contents() : HttpSessionState;

Property Value

The current HttpSessionState.

Remarks

The Contents property is provided for compatibility with earlier versions of ASP.

Requirements

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

See Also

HttpSessionState Class | HttpSessionState Members | System.Web.SessionState Namespace

Show: