The time delayed not by other parts on the page, but the form, that is why I
want to cache it.
I searched web for not csrf protecting the form, but no go.
Any way?

On Thu, Apr 23, 2009 at 1:11 PM, Alexandru-Emil Lupu
<[email protected]>wrote:

> 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 <[email protected]> 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 [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