wish of those help It's crazy. There was no error with Symfony. I'm using Jquerymobile 1.3.1 for the frontend and after every login the url in the browser points to http://myapp.localhost/app_dev.php/login_check. I got the right content after login, but when viewing sourcecode I see the error: Unable to find the controller for path “/login_check”. And when I use the browser refresh button I see the classic symfony 2 failure site. When I remove all the jquerymobile js and css, the login system works as expected. Maybe I need to change the login form from post to some kind of ajax submitting.
Unable to find the controller for path "/login_check" in symfony 2