ISession
Indexable
Index
Properties
Methods
Properties
readonlylength
maxAge
get/set session maxAge
readonlypopulated
populated flag, which is just a boolean alias of .length.
Methods
manuallyCommit
commit this session’s headers if autoCommit is set to false.
regenerate
regenerate this session
save
save this session no matter whether it is populated
toJSON
JSON representation of the session.
Return how many values there are in the session object. Used to see if it”s “populated”.