Hi,

I have a small problem...

Users on my website are obliged for the moment to logout. Closing the browser window is not enough...

Before the weekend I closed my browser (did not logout), after the weekend I surfed to the site and I was still logged in.

Does anyone know a solution to make sure this doesn't happen any more?

Comments

jeetn’s picture

Already solved

We had to change a setting in settings.php

ini_set('session.cookie_lifetime', 200000);

We have changed this into

settings.php: ini_set('session.cookie_lifetime', 0);

Nguyen DO’s picture

But it does not work with Firefox, it is ok with opera and IE.

----------------------------------
http://learnvietnam.com/ Bring Vietnam to the World
http://drupalab.com/ Drupal themes, Drupal template