RE: [PHP] Clear POST variables
| From: | Richard Lynch | Date: | Thu, 16 Feb 2006 19:37:33 +0000 |
| Subject: | RE: [PHP] Clear POST variables | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-230572@lists.php.net to get a copy of this message | ||
On Thu, February 16, 2006 9:14 am, Dan Parry wrote:
> Submit the data to a page that just inserts it into the DB (validating
> it
> first, natch) then do a header(location) to the thank you (or
> whatever) page
>
> This also fixes 'page expired' warnings
I've tried this...
Depending on the speed of the browser, network connection, your
web-server, and your database, the user *MIGHT* be able to hit reload
and/or bookmark and/or their "Back" button, quickly enough, and in
enough weird combinations, to fool the browser into using the same URL
again.
I would not consider this a reliable method, so if it really matters
to you, I wouldn't do it this way.
YMMV
--
Like Music?
http://l-i-e.com/artists.htm