sudden logout: session files are deleted after 10 minutes
d9k opened this issue · comments
Dmitry commented
conf.access_module.grant_time
must be used as the session.setsessiontimeout()
parameter at sailor startup. But it is called at the access
module inside function access.grant(data,time)
only.
So whenewer session.cleanup()
is called session files older then 10 minutes are destroyed.
Dmitry commented
By the way, at web_utils/session.lua
at the function M.load (id)
file modification time must be updated to be prevent session.cleanup()
too