-
Couldn't load subscription status.
- Fork 2
Description
Continue session
With PCI 4 requiring a session lifetime of 15 minutes or less, it would be very useful to (1) warn admins when they're getting near it on an open tab, and (2) allow them to renew it and continue their session.
Something like
This would be useful for cases where the admin might reasonably take longer than 15 minutes to perform an action -- like editing a product or content page, or working on an admin order in the background.
If this is done, it should share and track the session expiry state in browser session storage (or similar) so it can work across tabs. Loading a new tab should update the timer on existing tabs. Clicking 'continue' in one tab should update the timer on others.
Reauthenticate
A possible further enhancement would be to show a login overlay on top of the page once the 15 minutes passes, to allow the admin to re-log in and then continue in the page where they left off. This would require somehow refreshing all the URL hashes in the page based on the new admin session ID/key.
