HttpSessionState

The HttpSessionState (Session) object gives users access to session-scoped data across multiple requests. ASP.NET has greatly enhanced the HttpSessionState object. Tables C.9 through C.10 show the new properties, and methods of the ASP.NET Session object.

Table C.9. New HttpSessionState Properties
Property Description
CodePage Gets and sets the code page identifier (an integer value) for the session
Contents Returns a reference to the current session state object
Count Returns an integer value representing the number of items in the session
IsCookieless Returns a Boolean value indicating whether the session is managed using a cookieless session
IsNewSession Returns a Boolean value indicating whether the current request created ...

Get Building e-Commerce Sites with the .NET Framework 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.