On Mon, 5 May 2008, Balaji Srinivasan wrote:

> So I turned off session. auto_start in factories.yml.
> In my preExecute method, I set up a session using session_id() call.
> 
> Now it looks like the flash parameters are no longer being carried  
> from one call to the next. Also somehow the session itself doesnt get  
> restored on the next call (ie. If I add an attribute to the session  
> using $this->getUser()->setAttribute(), I cannot retrieve it in the  
> next call).

preExecute() gets called for every action, so do you check for an existing 
session to use and use it or create a new one each time?

Im also guessing switching off symfony's session handling means you dont 
get to use methods like getAttribute() and setAttribute(). Probably you'll 
need to write your own methods to handle storing and retrieving session 
data instead of using Symfony's.


-- 



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to