logout automatically when browser is closed in D6?
Hi,
I'd like my users to be automatically logged out when they close their browsers (in case they forget to click the 'logout' link). I've been trying lots of fixes suggested for Drupal 4.7 (http://drupal.org/node/38073), but nothing seems to work. These suggestions point me towards making the session's cookie have a lifetime of 0, which I've tried setting in sites->default->settings.php and .htaccess as instructed here: http://drupal.org/node/25852#comment-44770.
Here's the cookies part of my settings.php file:
ini_set('arg_separator.output', '&');
ini_set('magic_quotes_runtime', 0);
ini_set('magic_quotes_sybase', 0);
ini_set('session.cache_expire', 200000);
ini_set('session.cache_limiter', 'none');
ini_set('session.cookie_lifetime', 0);
ini_set('session.gc_maxlifetime', 200000);
ini_set('session.save_handler', 'user');
ini_set('session.use_only_cookies', 0);
ini_set('session.use_trans_sid', 0);
ini_set('url_rewriter.tags', '');I'm hosting with GoDaddy, using PHP 5.2.5, and MySQL 4.1.22, and Drupal 6.
Thanks,
Andrew G

Persistent Login module
Use the Persistent Login module - http://drupal.org/project/persistent_login