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

Automatically renew session if there is activity? #4

Open
fc28222 opened this issue Nov 4, 2013 · 1 comment
Open

Automatically renew session if there is activity? #4

fc28222 opened this issue Nov 4, 2013 · 1 comment

Comments

@fc28222
Copy link

fc28222 commented Nov 4, 2013

For example if encrypted_session_expires is set at 1 hour, it seems appropriate to extend the expiry if the user is on the site continuously during that hour.

Seems like encrypted_session_expires is a site-wise property, and even if one manually change the cookie expiry, the backend logic of the module may not follow.
I am wondering what would be the best way to implement the above functionality using this module, if it is possible.

@agentzh
Copy link
Member

agentzh commented Nov 4, 2013

@fc28222 You can just re-generate the session value yourself. The expiration timestamp is directly encrypted into the session data itself.

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

2 participants