Re: Can a script run twice?
| From: | Ray Hauge | Date: | Tue, 23 May 2006 20:47:50 +0000 |
| Subject: | Re: Can a script run twice? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-236751@lists.php.net to get a copy of this message | ||
On Tuesday 23 May 2006 13:40, Richard Lynch wrote:
> You have users who "double-click" on their submit button.
>
> Deal with it. :-)
>
> Add a token to the form and mark it "used" in the database on first
> submit.
You could even go so far as to disable the form element with the onClick
event. Should work for anchor tags as well.
--
Ray Hauge
Programmer/Systems Administrator
American Student Loan Services
www.americanstudentloan.com
1.800.575.1099