Allow to change session expiration without re-saving session data.
|Reported by:||zimnyx||Owned by:||nobody|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||yes||Patch needs improvement:||no|
When authenticated user is accessing pages which don't modify the session, the session expiration time (stored both in COOKIE and in backend) isn't updated, so after settings.SESSION_COOKIE_AGE second he will be logged out despite he's been active for all the time. It's not fair :-). I'm aware that I can force to always update expiration time via settings.SESSION_SAVE_EVERY_REQUEST, it's just inefficient to save session data knowing it wasn't modified at all.
My proposition it to allow to change and save session expiration time without touching session data.
Change History (8)
comment:1 Changed 3 years ago by russellm
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Triage Stage changed from Unreviewed to Accepted
Changed 2 years ago by aalexapolsky
comment:3 Changed 2 years ago by aalexapolsky
- Easy pickings unset
- Has patch set
- UI/UX unset
- Version changed from 1.3-alpha to SVN
comment:4 Changed 2 years ago by anonymous
- Type changed from New feature to Bug
- Version changed from master to 1.4