Re: Preventing dubbelsubmit in forms??
| From: | Cristian MARIN | Date: | Thu, 22 May 2003 14:57:57 +0000 |
| Subject: | Re: Preventing dubbelsubmit in forms?? | ||
| References: | 1 2 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-10935@lists.php.net to get a copy of this message | ||
Maybe you have to add a Unique Key to your table/form which is generated from the session and
you'll verify this key before resubmitting the form.
--
-------------------------------------------------
Cristian MARIN
InterAKT Online (www.interakt.ro)
cristic@interakt.ro
"Michael Scappa" <mscappa@mrbcomm.com> wrote in message news:004a01c32065$3e3dd050$6701a8c0@mike...
I usually submit then redirect (with header()), then if the user refreshes
it refreshes the landing page, not the submission.
-Mike
----- Original Message -----
From: "christian skaiaa" <christian.skaiaa@broadpark.no>
To: <php-install@lists.php.net>
Sent: Tuesday, May 20, 2003 11:13 AM
Subject: [PHP-INST] Preventing dubbelsubmit in forms??
> Hi,
>
> I wonder if anybody has any advice on how to prevent dubbelsubmitting a
> form. If the user refreshes the webside the formdata get posted twice.
> Any nifty tricks?
>
> Thanks
>
> Christian
>