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:
virtual void EndRequest(
	HttpContext^ context
) abstract

Parameters

context
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
Show: