Allowing refresh without form processing?

From: Date: Wed, 25 Jul 2001 13:57:57 +0000
Subject: Allowing refresh without form processing?
Groups: php.db 
Request: Send a blank email to php-db+get-10749@lists.php.net to get a copy of this message
Hey, I have a page where I'd like to allow the client to use their refresh button. The only problem with this is, when they submit a form that's on the page, it is parsed by the same page. So if they hit refresh, the same information will be submitted twice (or more). How can I "clear" out any knowledge that a form was submitted? I've tried adding unset ($HTTP_POST_VARS); to the bottom of the page but that didn't do anything for it... Any other ideas? BTW, I'm asking this because the form uses a db to process and I'm unsure if that may be the issue or not... My 2 ¢ John Pickett http://www.bvstudios.com/ Co-Author: Inside Dreamweaver 4 http://www.amazon.com/exec/obidos/ASIN/0735710848/xtremist

« previous php.db (#10749) next »