Nov 30, 2011

Submitting FLUID forms

If you use f:form view helper and submit data using GET requests, make sure you add noCacheHash="true" to the f:form. For example:


<f:form action="register" method="post" id="tx_myext" noCacheHash="true">

If you don't, you will put a copy of the page to the cache for each submitted request. That's not necessary.

It is good to put this option also when you submit using POST because there is no need for cHash in such case.

No comments:

Post a Comment