







![]() ![]() |
MySQL Connector/Net |
MySqlSessionStateStore..::..SetAndReleaseItemExclusive Method |
MySqlSessionStateStore Class See Also Send Feedback |
![]() |
This method updates the session time information in the database with the specified session item,
and releases the lock.
Namespace: MySql.Web.SessionState
Assembly: MySql.Web (in MySql.Web.dll) Version: 6.8.4.0
Syntax
C# |
---|
public override void SetAndReleaseItemExclusive( HttpContext context, string id, SessionStateStoreData item, Object lockId, bool newItem ) |
Visual Basic |
---|
Public Overrides Sub SetAndReleaseItemExclusive ( _ context As HttpContext, _ id As String, _ item As SessionStateStoreData, _ lockId As Object, _ newItem As Boolean _ ) |
Visual C++ |
---|
public: virtual void SetAndReleaseItemExclusive( HttpContext^ context, String^ id, SessionStateStoreData^ item, Object^ lockId, bool newItem ) override |
Parameters
- context
- Type: System.Web..::..HttpContext
The HttpContext object for the current request
- id
- Type: System..::..String
The session ID for the current request
- item
- Type: System.Web.SessionState..::..SessionStateStoreData
The session item containing new values to update the session item in the database with.
- lockId
- Type: System..::..Object
The lock identifier for the current request.
- newItem
- Type: System..::..Boolean
A Boolean value that indicates whether or not the session item is new in the database. A false value indicates an existing item.