Refreshing in forms using post
| From: | Matt Grimm | Date: | Mon, 01 Dec 2003 22:31:23 +0000 |
| Subject: | Refreshing in forms using post | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-171511@lists.php.net to get a copy of this message | ||
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