DataCacheSessionStoreProvider.SetAndReleaseItemExclusive Method (HttpContext, String, SessionStateStoreData, Object, Boolean)
Updates the session item information in the cache with values from the current request and clears the lock on the session item.
Assembly: Microsoft.ApplicationServer.Caching.Client (in Microsoft.ApplicationServer.Caching.Client.dll)
public override void SetAndReleaseItemExclusive( HttpContext context, string id, SessionStateStoreData item, object lockId, bool newItem )
Parameters
- context
-
Type:
System.Web.HttpContext
The HttpContext of the current request.
- id
-
Type:
System.String
The session identifier of the current request..
- item
-
Type:
System.Web.SessionState.SessionStateStoreData
The SessionStateStoreData object that contains the current session values to be stored.
- lockId
-
Type:
System.Object
The lock identifier for the current request.
- newItem
-
Type:
System.Boolean
If true, identifies the session item as a new item if true; otherwise, identifies the session item as an existing item.
For more information, see the documentation for the base class SessionStateStoreProviderBase.
Show: