Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sudden logout: session files are deleted after 10 minutes #164

Open
d9k opened this issue Jun 18, 2018 · 1 comment
Open

sudden logout: session files are deleted after 10 minutes #164

d9k opened this issue Jun 18, 2018 · 1 comment

Comments

@d9k
Copy link

d9k commented Jun 18, 2018

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.

@d9k
Copy link
Author

d9k commented Jun 18, 2018

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

@d9k d9k changed the title session files are deleted after 10 minutes sudden logout: session files are deleted after 10 minutes Jun 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant