flushing formdata / flushing the client to prevent resubmitting formdata ?
| From: | Jeroen Wesbeek | Date: | Wed, 12 Jul 2000 08:01:40 +0000 |
| Subject: | flushing formdata / flushing the client to prevent resubmitting formdata ? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-6097@lists.php.net to get a copy of this message | ||
Hi,
Is there any way of preventing form-data being resubmitted after hitting
F5/refresh in your client?
Ofcourse you can create a warkaround by giving a form a random number or
something and check
if this number has already been submitted in the script that handles the
form data, but I'd rather
see if there's a way to flush the client as soon as script is run which
processes this data.
So.. is there some kind of HTTP header which you can send to the client to
make sure the data
won't get re-submitted after refreshing?
Grtz,
Jeroen
Jeroen Wesbeek
Webdevelopper
DoWebWeDo
St. Jacobsstraat 16
3500 AK Utrecht
030-2348110
[ Roses are red, violets are blue, I am schizophrenic and so
am I ]
[ If you don't understand it, get rid of it ]