Optional
options: SessionStoreOptionsPrivate
Readonly
cachePrivate
Readonly
maxPrivate
Readonly
stdTTLPrivate
convertGet the contents of the session
the session id
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)
LockError - a message declaring that the row is already locked, if that is the case
Adds or updates (if the fields already exist) data in the session
the session id
the data to add or update
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
The number of seconds that a session is allowed to be locked before it can be forcibly unlocked.