User logout when browser closes Is there a way to automatically log out users when they close a browser? 
I've tried to set (settings.php)

ini_set('session.gc_maxlifetime', 0);
ini_set('session.cookie_lifetime', 0);

but this doesn't work. Seems to me like it has anything to do with the 'sid' stored in the 'sessions' table?
There is the session_expire module, and this module's page has some information about garbage collector confs and stuff.