SessionStateUtility Methods

 

Namespace:   System.Web.SessionState
Assembly:  System.Web (in System.Web.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticAddHttpSessionStateToContext(HttpContext^, IHttpSessionState^)

Applies the session data to the context for the current request.

System_CAPS_pubmethodSystem_CAPS_staticGetHttpSessionStateFromContext(HttpContext^)

Retrieves session data from the context for the current request.

System_CAPS_pubmethodSystem_CAPS_staticGetSessionStaticObjects(HttpContext^)

Gets a reference to the static objects collection for the specified context.

System_CAPS_pubmethodSystem_CAPS_staticIsSessionStateReadOnly(HttpContext^)

Gets a value which indicates whether the session state is read-only for the specified HttpContext.

System_CAPS_pubmethodSystem_CAPS_staticIsSessionStateRequired(HttpContext^)

Gets a value which indicates whether the session state is required for the specified HttpContext.

System_CAPS_pubmethodSystem_CAPS_staticRaiseSessionEnd(IHttpSessionState^, Object^, EventArgs^)

Executes the Session_OnEnd event defined in the Global.asax file for the ASP.NET application.

System_CAPS_pubmethodSystem_CAPS_staticRemoveHttpSessionStateFromContext(HttpContext^)

Removes session data from the specified context.

Return to top
Show: