hi! just try to make a slot(or a component) that contain the form itself. You might cache the page, but keep your form uncached.
this might help you get a view ... http://www.symfony-project.org/jobeet/1_2/Doctrine/en/22 http://www.symfony-project.org/book/1_2/12-Caching alecs On Thu, Apr 23, 2009 at 7:45 PM, xhe <hexuf...@gmail.com> wrote: > > I am caching a page which has a form, but because the form is csrf > protected, whenever the form is read from cache, the "csrf attach is > detected" error is thrown. > So any idea to catch a page which as csrf protection enabled? Or if > not, how can I disable csrf protection for that page? > Thanks for your advice. > > > --~--~---------~--~----~------------~-------~--~----~ 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 symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---