Autologout triggered in background tab, no indication in other open tabs

Created on 20 May 2021, about 3 years ago
Updated 28 March 2024, 3 months ago

Problem/Motivation

When working in multiple tabs, inactivity will trigger logout in one tab even while appearing active in another. This creates problems when a user is filling in a long form and possibly navigating other routes in separate tabs. If they return to the form to submit, access is denied and progress is lost.

Our real-world use case is an interview where multiple tabs may be open, a form is opened to be completed, attention is taken away from the browser, logout happens in one tab (not sure which one, maybe first opened?) but not the others. So when returning to the form there is no indication that logout happened, form is filled out and access denied on submit. So all of that work is lost.

Steps to reproduce

  1. Enable module as usual, and configure to logout after 60 seconds
  2. Open multiple browser tabs including a node/add form
  3. Move on to other tasks like research, getting interrupted, etc…
  4. Autologout will trigger in one tab and log out the user. Other open tabs give no indication of automated logout.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇯🇴Jordan josebc

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024