Log in on the frontend e.g. on Firefox
Close the browser
User logged out
Open another browser window (same browser, e.g. Firefox, not Chrome)
User stays logged in.
If this were a website holding financial/personal information, this could also be a security issue.
Labels |
Added:
No Code Attached Yet
|
Or write a plugin/template function which listens to the Javascript onbeforeunload event and destroy the session cookie.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-11-09 18:10:26 |
Closed_By | ⇒ | chmst |
Absolutely not. If you want the shortest login time just adjust the session time or browse in private/anonymous mode.
It is neither intended nor correct on the UX side to destroy a user's session if he closes the browser window. This is the normal behavior of a modern website.
If you want a security system such as when you access the customer area of a bank, you have to adapt everything there to your specific needs.