Hello, I'm trying to make Drupal make users login whenever they close browser and then visit again.

I changed to this value in "Settings.php" file:

ini_set('session.cookie_lifetime', 0);

But it still keeping them logged in!

any ideas are appreciated..

Thanks,

Comments

zeidhaddadin’s picture

oh it's only not working with Google Chrome!

mm167’s picture

...poor guy..u hit what we called .."not all browsers are the same" ....

FYI:
http://drupal.org/node/38073

-Anti-’s picture

This may help:
http://drupal.org/project/keep_session

Tell me how it goes; I planned on trying this myself in the next couple of weeks.