SessionAuthenticationModule.InitializeModule(HttpApplication) Method

Definition

Initializes the module and prepares it to handle events from the module's ASP.NET application object.

protected:
 override void InitializeModule(System::Web::HttpApplication ^ context);
protected override void InitializeModule (System.Web.HttpApplication context);
override this.InitializeModule : System.Web.HttpApplication -> unit
Protected Overrides Sub InitializeModule (context As HttpApplication)

Parameters

context
HttpApplication

The HTTP application object that contains this module.

Remarks

Adds the OnAuthenticateRequest and the OnPostAuthenticateRequest handlers to the HttpApplication.AuthenticateRequest and HttpApplication.PostAuthenticateRequest events of the application object specified by the context parameter.

Applies to