SessionStateStoreProviderBase.EndRequest Method (HttpContext)


Called by the SessionStateModule object at the end of a request.

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

Public MustOverride Sub EndRequest (
	context As HttpContext


Type: System.Web.HttpContext

The HttpContext for the current request.

The SessionStateModule object calls the EndRequest method at the end of a request for an ASP.NET page, during the EndRequest event. You can use the EndRequest method to perform any per-request cleanup required by your session-state store provider.

For an example of a session-state store provider implementation, see Implementing a Session-State Store Provider.

.NET Framework
Available since 2.0
Return to top