Re: avoid multiple submissions
| From: | Julio Nobrega Trabalhando | Date: | Thu, 02 May 2002 18:38:52 +0000 |
| Subject: | Re: avoid multiple submissions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-95725@lists.php.net to get a copy of this message | ||
Make a unique form key for every form. When someone submits, store this
unique key. Don't insert another form is there's a key already there :-)
Make sure it's unique, like of current time in miliseconds plus random
characters, I don't know.
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei? Que tal um presentinho?
http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884
"Rodrigo Peres" <rperes@mac.com> wrote in message
news:BC762DCE-5DF9-11D6-984F-0050E4D03060@mac.com...
> Hi list,
>
> There's any way to avoid a "speed gonzales" user to keep pressing submit
> button while you PHP is processing the code???
> I was looking in my mysql and found some duplicate entries with a
> diference with seconds in the time.
>
> Thank's
>
> Rodrigo
>