SessionStateModule.Dispose Method

Definition

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

public:
 virtual void Dispose();
public void Dispose ();
abstract member Dispose : unit -> unit
override this.Dispose : unit -> unit
Public Sub Dispose ()

Implements

Remarks

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.

Applies to

See also