4

Is there a way that I can warn admin users that they will be logged out after a set period of time.

EG 60 seconds before the session is timed out and forcing the admin user to login it pops up a screen stating "click here to renew" or something.

The reason is because an admin user spent 1 hour building up a CMS page however lost all of their changes as their session timed out.

closed as off-topic by Sander Mangel, Keyul Shah, Fabian Blechschmidt, MTM, Amit Bera Sep 15 '14 at 17:11

  • This question does not appear to be about the Magento e-Commerce platform within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

  • can't you just higher the time for which sessions are active server-side? – Julien Lachal Aug 11 '14 at 9:35
  • I could but its just moving the problem though for example if I set it to be 2 hours and they dont refresh the page for 2 hours then I still have the same problems. Surely it makes good sense to let your users know that they are being logged out after than just doing it and annoying them. – Goose84 Aug 11 '14 at 9:40
  • What if they don't see they do something, go away, have the popup thown at them (while the session has already expired) and they click "renew"? Their work would still be lost – Julien Lachal Aug 11 '14 at 9:50
  • 1
    Otherwise you could consider addons.mozilla.org/en-US/firefox/addon/session-keeper for Firefox or chrome.google.com/webstore/detail/session-manager/… for Chrome, which basically pings your server constantly while logged in to prevent auto logout. – Moose Sep 11 '14 at 6:51
  • 2
    This question is not really about Magento. It's more something about javascript I would guess – Sander Mangel Sep 15 '14 at 13:55