Normally when a session expires any open windows/tabs will stay visible. It would be nice if some javascript would detect that the user's session is invalid and refresh the page so that the content of the page is not visible.

Comments

pau1_m’s picture

The Ejector Seat module by Lullabot integrates with Session Limit to provide that functionality.

deekayen’s picture

Autologout has something like that too.

johnennew’s picture

Version: 6.x-2.2 » 7.x-2.x-dev
Status: Active » Closed (won't fix)

I'm closing this issue.

I'm not sure this functionality belongs in the session_limit module. As has been said, this is available via other routes. I think ejector seat makes the most sense as it gives a single way of checking for being logged out which could happen because of any number of reasons such as session limit collision event, being automatically logged out by auto logout or by an admin function or simply the user logging out in a different tab.

I'm going to suggest Lullabot makes an ejector seat module.

BrockBoland’s picture

FYI: Ejector Seat is now available on d.o: https://drupal.org/project/ejectorseat

johnennew’s picture

Thanks!