The HttpSessionState Class (Session Intrinsic Object)

An instance of the HttpSessionState class is created for each ASP.NET web application or site user. This instance is then exposed via the Session property on the Context object provided to all HttpModules of a web application or site during a web request. Table B.8 describes the HttpSessionState class properties.

Table B.8. HttpSessionState Class Properties
Method Description
CodePage Gets or sets the code page identifier for the current session.
Contents Gets a reference to the current session state object.
Count Gets the number of items in the session state collection.
IsCookieless Gets a value indicating whether the session is managed using a cookieless session.
IsNewSession Gets a value ...

Get Inside ASP.NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.