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

We go the drupal way. How about you?
http://www.drupalway.com

-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.

Everything I say is opinion, even if interpreted as fact.
Sometimes I may be inaccurate or *GASP* wrong!
Sometimes I attack Drupal due to frustration. Get over it.