Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
CoherenceSessionStore..::.GetItemExclusive Method
CoherenceSessionStore Class See Also Send Feedback

Oracle® Coherence .NET API Reference Release 3.6
E15727-01
Returns writeable HTTP session data from the session data store.

Namespace: Tangosol.Web
Assembly: Coherence (in Coherence.dll) Version: 3.6.0.0 (3.6.0.0)

# Syntax

C#
    public override SessionStateStoreData GetItemExclusive(
    	HttpContext context,
    	string id,
    	out bool locked,
    	out TimeSpan lockAge,
    	out Object lockId,
    	out SessionStateActions actions
    )

#### Parameters

context
  Type: System.Web..::.HttpContext
  The Web.HttpContext for the current request.

id
  Type: System..::.String
  The Web.SessionState.HttpSessionState.SessionID for the current request.

locked
  Type: System..::.Boolean %
  When this method returns, contains a Boolean value that is set to true if the requested HTTP session item is locked at the session data store; otherwise, false.

lockAge
  Type: System..::.TimeSpan %
  When this method returns, contains a TimeSpan object that is set to the amount of time that an item in the session data store has been locked.

lockId
  Type: System..::.Object %
  When this method returns, contains an object that is set to the lock identifier for the current request. For details on the lock identifier, see "Locking Session-Store Data" in the SessionStateStoreProviderBase class summary.

actions
  Type: System.Web.SessionState..::.SessionStateActions %
  When this method returns, contains one of the Web.SessionState.SessionStateActions values, indicating whether the current HTTP session is an uninitialized, cookieless HTTP session.

#### Return Value

A Web.SessionState.SessionStateStoreData populated with HTTP session values and information from the session data store.

# See Also

CoherenceSessionStore Class
Tangosol.Web Namespace