Hi there ! I have a problem with my symfony application, and I haven't found any solution on snippets or any other documentation.
I have a whole secured app ("is_secure: on" on app's scope security.yml), except for login and logout actions. I widely use Ajax requests to display forms on "pop-up" divs. I also "remember" logged users with session persistence (through cookie). The fact is, when session expires, my request is naturally forwarded (probably by sfSecurityFilter) to my login action. But this one check for an existing cookie and "re-log" user if cookie is authenticated. This works perfectly on normal pages with standard request, but as soon as a session expires, Ajax requests results are all the login form ... Here is the beginning of my login action : if( $this->getRequest()->getMethod() != sfRequest::POST ) { $cookie = $this->getRequest()- >getCookie(sfConfig::get('app_cookie_name')); if( $cookie ) { Right ... Is this that Ajax requests doesn't have access to cookie with getCookie ? How could I proceed to make Ajax requests checking cookies if it's the case ? Thanks in advance. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---