System.Web.SessionState.SessionStateModule Class

Provides session-state services for an application. This class cannot be inherited.

See Also: SessionStateModule Members

Syntax

public sealed class SessionStateModule : System.Web.IHttpModule

Remarks

System.Web.SessionState.SessionStateModule is ASP.NET's default session-state handler. It writes session data to and retrieves it from the session-state store and raises the Session_OnStart and Session_OnEnd events. For details about how to use ASP.NET session state to store and retrieve values for a user session, see ASP.NET Session State Overview.

You can replace the System.Web.SessionState.SessionStateModule with a custom implementation of the System.Web.IHttpModule interface that manages session state. For an example of a custom session-state module, see the System.Web.SessionState.SessionStateUtility class overview.

Requirements

Namespace: System.Web.SessionState
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0