#6275 - Present an overlay when a session is about to expire

  • By
  • Added
  • 12 views
Identifier #6275
Issue type Feature request or suggestion
Title Present an overlay when a session is about to expire
Status Completed
Tags

Roadmap: v11 (custom)

Handling member PDStig
Version 11 beta8
Addon core
Description JavaScript should ping an endpoint every minute to check session expiration.

If the session is about to expire (5 minutes), present an overlay with a button. If the button is clicked, an AJAX call is made back to the endpoint (with a POST param) resetting the session expiration time.

Make sure to have the date/time the session will expire present on the overlay. Or just use a countdown.

Make sure this is only done for logged in members and not guests.

Make sure language says "may get logged out", not "will", because those with Remember Me will get auto-logged back in if still valid.
Steps to reproduce

Additional information This will add an additional line of defense for cases where users don't know their session expired, tried to submit something, failed due to an expired session, and then lost all the information in the process when autosave fails.
Funded? No
Commits

Implemented MANTIS-6275 (Present an overlay when a session is about to expire) (05c0f0f7) · Commits · Composr ecosystem / Composr · GitLab

The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated