I\'m struggling to accomplish the following: Alter the user\'s session cookie expiry date based on the user\'s type.
I have a CakePHP web application wherein I have
Find this: app/config/core.php
app/config/core.php
Change this line to your desired value in minutes: Configure::write('Session.timeout', '120');
Configure::write('Session.timeout', '120');
(Since CakePHP 2.3.0 Security.level is no longer used. Changelog: http://cakephp.org/changelogs/2.3.0)
Security.level