Re: Refreshing in forms using post
| From: | Marek Kilimajer | Date: | Mon, 01 Dec 2003 22:41:55 +0000 |
| Subject: | Re: Refreshing in forms using post | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-171514@lists.php.net to get a copy of this message | ||
What header are you using? If you use Location header, this should not happen.
Matt Grimm wrote:
Suppose I have a form. Upon submission, the metadata is posted to a processing script (a separate PHP file), which parses it and then sends the user back to a particular page using the header function. If said user clicks their browser's back button, the aforementioned processing script will re-parse that post data and create a duplicate record. How can I prevent this? Cache control? Thanks, -- Matt Grimm Web Developer The Health TV Channel, Inc. (a non - profit organization) 3820 Lake Otis Parkway Anchorage, AK 99508 907.770.6200 ext. 686 907.336.6205 (fax) E-mail: mgrimm@healthtvchannel.org Web: www.healthtvchannel.org