I'm working on a legacy cakephp 2.6.1 application and the customer requires a longer session timeout. I can extend the cookie duration, but no matter what configuration I change, if the user stays idle for about an hour, the session expires on the server. Is there something I am missing? Here is my Session config:
Configure::write( 'Session', array(
'defaults' => 'php',
'cookie' => 'CookieName',
'timeout' => 240,
'cookieTimeout' => 240,
'autoRegenerate' => true,
'ini' => array(
'session.gc_maxlifetime' => 14400,
'session.cookie_lifetime' => 14400,
),
));
The app is running in a standard LAMP stack with PHP 5.6