What magical thing could be killing my Drupal session and anywhere from 15-45 minutes of activity?
- by jini
I am using a standard Drupal install hosted on a LAMP stack.
My settings.php has the following set:
ini_set('session.gc_probability', 1);
ini_set('session.gc_divisor', 100);
ini_set('session.gc_maxlifetime', 200000);
ini_set('session.cookie_lifetime', 2000000);
my php.ini file has:
session.gc_probability = 1
session.gc_divisor = 1000
session.gc_maxlifetime = 1440
Also I have checked that the safe mode is off so that my settings.php file is able to override main php.ini variables. Also since the person can get log out at 15 minutes, it is making me wonder whether php.ini has anything to do with it anyways. I have combed through my code and it seems to work fine on my local host however on server it is having issues. Where else can i possibly check?????