cakePHP Session Timeout Logout Problem – Unexpected Logout and Session Break

Tuesday, May 5, 2009 14:51

Please make the Security Level for Session ‘medium’ or ‘low’. Because ‘high’ Session timeout will break sessions of cakePHP in very short time.
Have look at the following code. APP -> CONFIG -> CORE.PHP

// Access the following code in APP -> CONFIG -> CORE.PHP
 * 'high'	Session timeout in 'Session.timeout' x 10
 * 'medium'	Session timeout in 'Session.timeout' x 100
 * 'low'		Session timeout in 'Session.timeout' x 300
 *
 * CakePHP session IDs are also regenerated between requests if
 * 'Security.level' is set to 'high'.
 */
	Configure::write('Security.level', 'medium');
  • Share/Bookmark
You can leave a response, or trackback from your own site.

Leave a Reply