Auth timeout problems with CakePHP

mydrunker

New Member
This is really bugging me. Has been for years. No matter what I do with core.php or php.ini, my logins timeout after about an hour - usually. Some deployments of identical code and configuration timeout after a respectable amount of time.This is what I have at the moment on one site - timed out after about an hour:\[code\]session.gc_divisor 1000session.gc_maxlifetime 86400session.gc_probability 1Configure::write('Session.timeout', '28800');Configure::write('Session.checkAgent', false);Configure::write('Security.level', 'medium');\[/code\]And another - lasted all night:\[code\]session.gc_divisor 100session.gc_maxlifetime 14400session.gc_probability 0Configure::write('Session.timeout', '315360000');Configure::write('Session.checkAgent', false);Configure::write('Security.level', 'medium');\[/code\]Now, before you get excited and say, "Well, the answer is there in the Session.timeout value", let me tell you that this site usually times out after about twenty minutes!
 
Back
Top