DataCacheSessionStoreProvider.RemoveItem Method (HttpContext, String, Object, SessionStateStoreData)

 

Deletes session data from the cache.

Namespace:   Microsoft.ApplicationServer.Caching
Assembly:  Microsoft.ApplicationServer.Caching.Client (in Microsoft.ApplicationServer.Caching.Client.dll)

public override void RemoveItem(
	HttpContext context,
	string id,
	object lockId,
	SessionStateStoreData item
)

Parameters

context
Type: System.Web.HttpContext

The HttpContext of the current request.

id
Type: System.String

The session identifier of the current request.

lockId
Type: System.Object

The lock identifier of the current request.

item
Type: System.Web.SessionState.SessionStateStoreData

The SessionStateStoreData that represents the item to delete from the cache.

For more information, see the documentation for the base class SessionStateStoreProviderBase.

Return to top
Show: