[TYPO3-english] cHash does not work with forms
Vahan Amirbekyan
vamirbekyan at dgfoundation.org
Mon Mar 30 17:05:24 CEST 2009
do I read this right that the hook will make typo3 ignore the value of
cHash. Before this though we need the page to get cached in the first
place. So I guess I add a hidden field then to the form with dummy value
for cHash. The hook I do the way that if it sees the dummy value then it
returns true. This way the purpose of cHash will be voided for limited
number of URLs at least.
is this solution you suggested Dmitry?
Dmitry Dulepov wrote:
> Hi!
>
> Vahan Amirbekyan wrote:
>> I think there should be a solution operantly it is not that obvious.
>> I have a form with a dropdown of country codes that reloads the same
>> page with &country= URL get parameter.
>> I need these pages to be cached.
>> How to get the page URLs with cHash?
>
> Fake a cHash using one of early TSFE hooks. This is a dangerous way but I do not think you have any other option.
>
More information about the TYPO3-english
mailing list