Re: Clearing Post Data with IE
| From: | Scott Fletcher | Date: | Mon, 22 Mar 2004 22:47:29 +0000 |
| Subject: | Re: Clearing Post Data with IE | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-181173@lists.php.net to get a copy of this message | ||
Using "Pragma: private" instead of no-cache would elminate that message
about cache expired and asking if you want to resubmit. However, based on
your questions. It's not the answer you're looking for. So, there is a
better way around. Just do Webpage #1 for form and submit it to Webpage #2
for processing the form like the database or session for example, then use
the header("Location: ****") to get to Webpage #3 where you can display the
result. That way, Webpage #2 was never reached to the web-browser and was
never cached.
FletchSOD
"Chris Thomas" <chris@designvariation.com> wrote in message
news:20040322212408.28888.qmail@pb1.pair.com...
> Hey,
> Im writing a script for a poll, and im trying to figure out how to clear
the
> _post.
> Right now i post the response that the user selected from the poll, back
to
> the poll page, which then displays the results
>
> The way it works right now, if i try to refresh the page, IE will pop a
> dialog back asking me if i want to resubmit the post.
>
> Is there a way to get it so that i can clear _post and get it so they
arent
> in the header??
>
> Chris