Abstract
Abstract
closeAbstract
destroyAbstract
getGet the contents of the session
the session id
Abstract
initAbstract
locklock 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
Abstract
setAdds or updates (if the fields already exist) data in the session
the session id
the data to add or update
Abstract
unlockAbstract
unsetRemoves 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