Re: Preventing data from being reposted?
| From: | rory walsh | Date: | Thu, 03 Mar 2005 14:50:37 +0000 |
| Subject: | Re: Preventing data from being reposted? | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-209922@lists.php.net to get a copy of this message | ||
I'm pretty sure I am looking at cached pages but the problem with this seems to be that some browsers support these header directives and others don't, i.e. Firefox.
The following work in IE but not Firefox
header("Cache-control: private");
header("Cache-Control: no-store, no-cache, must-revalidate");
maybe you are looking at cached pages in your browser? if 'session_variable=="yes"' equates to true then you should send out headers that tell the browser not to cache the output (or make it private/force-revalidation)Jochem Maas wrote:eoghan wrote:i think ive missed a few mails there...? rory walsh wrote:my first google hit on search for the exact title gave me this: http://www.issociate.de/board/post/171234/Clear_POST_variables_on_page_refresh.htmlCheers, I'll take a look, I had tried a search but thunderbird didn't find anything, even with the exact thread title I had to google it? Anyway I'll take a look.