i have an web application in Cakephp.
Application session gets destroyed and user gets logged out after enabling firebug.
I have never faced this problem while using other frameworks like zend. I am using Cakephp for the first time and facing this problem.
How can i fix this problem.
I have found that For each request HTTP_USER_AGENT is checked in the session and when we enable/disable firebug, userAgent value gets changed.
Thus we get logged out if we enable/disable firebug.
To resolve this we can set Configure::write(‘Session.checkAgent’, true); in /app/config/core.php.