On Fri, 28 May 2010, Ricardo wrote:

> thanks for the response but I don't understand what I have to do.

You said that the page you see doesn't change unless you clear the cache 
right? That's your clue. This means you must be looking at a cached page 
which in turn means you are (incorrectly) caching a page that depends on 
session data. Therefore to 'fix' this you can:

1) If you are caching the whole page then you must make the cache key 
depend on the state (i.e. if logged in, maybe use userid in cache key 
otherwise use a general 'not logged in' key)

2) OR if you are caching fragments of the page, then make sure you dont 
cache fragments that change depending on session data.

3) OR if this page is not public and mot used very often you could choose 
to switch off caching for that page.

You should read up on caching in symfony:
http://www.symfony-project.org/gentle-introduction/1_4/en/12-Caching



-- 


-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

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