What magical thing could be killing my Drupal session and anywhere from 15-45 minutes of activity?
Posted
by
jini
on Stack Overflow
See other posts from Stack Overflow
or by jini
Published on 2012-04-06T20:34:26Z
Indexed on
2012/04/15
5:29 UTC
Read the original article
Hit count: 161
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?????
© Stack Overflow or respective owner