Are you using IE? And making Ajax calls? or launching applets? I had this problem for the last few days.
The fix is to set Configure::write('Session.checkAgent', false); in core.php The reason is: IE sometimes uses a different user agent string when doing ajax calls, and so will any applets you launch from the browser. Also, set Configure::write('Security.level', 'medium'); Just in case the session is timing out too quickly. On Feb 1, 7:59 pm, "ecommy.com" <bstdevelopm...@gmail.com> wrote: > Greetings, > > I am building a web application which uses a simple auth login system > which was inspired from the cake manual. Nothing fancy. > > Everything was fine on localhost, but when I uploaded to a linux > server, the user gets logger in and out randomly by just browsing > through the application. > > I am interested if someone else was getting into a similar problem. > > Thank you! Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en