Can you please let me know how to increase the session expiry time for CakePHP 2?
Currently, i set the configuration as bellow.
Configure::write('Session', array(
'defaults' => 'php',
'timeout' => 129600, // The session will timeout after 30 minutes of inactivity
'cookieTimeout' => 129600, // The session cookie will live for at most 24 hours, this does not effect session timeouts
'ini' => array(
'session.gc_maxlifetime' => 129600 // 36 hours
)
));
But, these settings not work and session expired in almost 24 minutes.Thanks This thread didn't solve my problem "How to increase cakephp Auth component session expire time"