[TYPO3-dev] Problems with a form in my extension and the action attribute
Xavier Perseguers
typo3 at perseguers.ch
Thu Aug 6 08:28:25 CEST 2009
Hi,
>> I set the action with:
>>
>> $markerArray['###FORM_ACTION###'] =
>> $this->pi_getPageLink($GLOBALS['TSFE']->id);
>>
>> And this is fine when the page is first visited - i see it correctly
>> in the
>> form action attr, but after submitting the id is not in the query
>> string and
>> the root page is shown.
1) I did something similar once "pre"-generating all redirect links with
typolink and storing it into the <option>'s value. It allowed me to get
a cHash parameter which prevented the cache problem to appear
2) Appending no_cache=1 to the URL with a hidden field would not work
(for instance) on my website as I actively forbid this option appended
to my URL in order not to get denial of service attacks. I don't want
users of my websites to be able to force my webserver to recreate a
version of my page from scratch, it's not their business!
--
Xavier Perseguers
MVC ExtJS Leader
http://forge.typo3.org/projects/show/extension-mvc_extjs
More information about the TYPO3-dev
mailing list