Auto logout if browser is closed
120174
Clear cookies on browser close
6155
Detect browser or tab closing
71183
Why does Stack Exchange ask for a reload on successful automatic login?
95237
Fired an event in asp.net when Session expired or browser close
156826
Confirm message on browser page close
102569
When a user closes a , hide that  on all site pages
132918
Warn user if they try to logoff
100942
How to close current tab in a browser window?
63198
How can I logout from the GUI using CLI?
130938
Java: Handle logoff or shutdown on Windows and Linux
98497
Is there a browser equivalent to IE's ClearAuthenticationCache?
102545
Shutdown when laptop lid closed
53264
Proper way to close an AutoCloseable
55762
How can I make a script run automatically after gdm login and logout?
67821
How to shutdown automatically when AC power is not available
129279
Prevent Google Chrome from remembering window position on close
144668
Make a Cocoa application quit when the main window is closed?