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
public HttpSessionState Contents {get;}
public: __property HttpSessionState* get_Contents();
public function get Contents() : HttpSessionState;

Property Value

The current HttpSessionState.


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


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

See Also

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