CakePHP application automatically logs out within few seconds -


i have used cakephp in application. has weird problem. times user being automatically logged out after within few secs. how stop auto log out?

i have set below codes in app/config/core.php:

configure::write('session.timeout', '120'); configure::write('security.level', 'low'); 

the best way set session time out in app/config/core.php.

configure::write('session', array(         'defaults' => 'php',                 'timeout' => 20,//20minutes                 'autoregenerate' => true,//resets session on activity                 'cookietimeout' => 1440     )); 

Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -