is it that your response page and the page processing the data are the same
page? i have had issues with this previously and had to use a 3 step
process -
1. address book form
2. processing script page
3. response page

--
----

Christian Haines
Internet Developer

MITOUSA.
Branding Strategies for Visual & Interactive Design

102 Tynte Street
North Adelaide  SA  5006

e) [EMAIL PROTECTED]
t) 08 8361 9022
f) 08 8361 9977
w) www.mitousa.com
"Krispi" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi!
>
> Here is my scenario. I'm doing a dynamic html with php for my address
book.
> When I enter all the data that is necesary and hit Submit, for saving the
> user( using POST), I get an error or success message, which is OK, but if
I
> press a Refresh  button now, it will try to save the user again, because
old
> data is still in the $_POST.Why??
>
> I already tried header directives:
>
> header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");    // Date in the past
> header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
>                                                 // always modified
> header("Cache-Control: no-store, no-cache, must-revalidate",false);  //
> HTTP/1.1
> header("Cache-Control: post-check=0, pre-check=0", false);
> header("Pragma: no-cache");
>
>
> Thx,
>  Krispi
>
>
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to