Export (0) Print
Expand All

SessionStateModule.Dispose Method

Executes final cleanup code before the SessionStateModule object is released from memory.

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

public void Dispose()

Implements

IHttpModule.Dispose()

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

An HttpApplication object is created when an ASP.NET application is started. The HttpApplication object creates and initializes the SessionStateModule object for the application and calls the Dispose method when the object is released. The SessionStateModule is specified in the configuration for an application.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1
Show:
© 2015 Microsoft