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



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


We go the drupal way. How about you?

-Anti-’s picture

This may help:

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.