System.Web.SessionState.SessionStateModule.Init Method

Calls initialization code when a System.Web.SessionState.SessionStateModule object is created.

Syntax

public void Init (System.Web.HttpApplication app)

Parameters

app
The current application.

Remarks

This method is not intended to be called from application code.

An System.Web.HttpApplication is created when an ASP.NET application is started. The System.Web.HttpApplication object calls the SessionStateModule.Init(System.Web.HttpApplication) method when it creates the System.Web.SessionState.SessionStateModule object for the application. The System.Web.SessionState.SessionStateModule class is specified in the configuration for an application.

Requirements

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