In my app.php I have:
在我的app.php中,我有:
'Session' => [
'cookie' => 'app_sid',
'defaults' => 'cake',
'timeout' => 20160, // The session will timeout after 20160 minutes of inactivity
'cookieTimeout' => 20160, // The session cookie will live for at most 2 weeks, this does not effect session timeouts
'autoRegenerate' => TRUE
]
'Sess