Optionaloptions: SessionStoreOptionsDestroy the session data
the id of the session to delete
Get the contents of the session
the session id
Initialize the session store
lock a session row so that other clients cannot modify its data
the id of the session to lock
the property key to use for safety checking against the stored session
boolean - true if lock was successful (unsuccessful lock throws LockError)
Adds or updates (if the fields already exist) data in the session
the session id
the data to add or update
unlock a session row so that other clients can modify its data
the id of the session to unlock
Removes the given properties from the session object No error will be thrown if any of the provided fields don't exist.
Returns false if the id wasn't found. Otherwise, returns true.
the session id
the names of the properties or indexes to remove
Close the session store