Gets the HttpSessionState object for the current HTTP request.
Assembly: System.Web (in System.Web.dll)
The HttpSessionState class.property provides programmatic access to the properties and methods of the
In order to use session state you have to enable it. For information about how to enable session state, see Configuring Session State in ASP.NET Session State Overview.
For information about how to save values in session state, see How to: Save Values in Session State. For information about how to read values from session state, see How to: Read Values from Session State.
The following examples show how to save values in session state and how to read values from session state.
These examples require:
Available since 1.1