This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use the new forum.
Home » support » symfony 1.3 and 1.4 » sfSessionStorage reading old cookie!!!!
sfSessionStorage reading old cookie!!!! [message #103105] Mon, 26 July 2010 21:53 Go to next message
unfinishedsymfony  is currently offline unfinishedsymfony
Messages: 1
Registered: July 2010
Location: Palo Alto
Junior Member
Hey Everyone,

We are currently upgrading from 1.0 -> 1.1. -> 1.2 -> 1.3 (just trying to catch up Smile We are having issues with a cookie and the sfSessionStorage.

After someone logs out of our system:


And then someone else tries to login, they get authenticated corrently (I var_dumped the authentication) but when the login code redirects and the page refreshes, it reads the old cookie from the previous login.

public function executeLogin()
$this->redirectif($this->getUser()->isAuthenticated(), 'homepage/index');

I checked the browsers cookies and php session files on our server and there is the new cookie with the correct information, but the sfSessionStorage keeps reading the old cookie.

It seems like the setAttribute isn't getting "saved" after the redirect.

Any ideas anyone?
Re: sfSessionStorage reading old cookie!!!! [message #103149 is a reply to message #103105 ] Tue, 27 July 2010 19:29 Go to previous message
THanLee  is currently offline THanLee
Messages: 2
Registered: July 2010
Location: Stanford
Junior Member
I am having the same problem...but mine only happens on firefox
Previous Topic:Lock access to /sf_guard_user to non admin users
Next Topic:Symfony one-to-many embedrelation showing multiple forms
Goto Forum:

powered by FUDforum - copyright ©2001-2004 FUD Forum Bulletin Board Software