Stopping double clicking with Perl CGI

Iain Barnett iainspeed at gmail.com
Thu May 22 14:51:37 BST 2008


On 22 May 2008, at 1:03 pm, David Cantrell wrote:

> Include a unique ID in a hidden form field, and then on the server  
> keep
> a record of which IDs have been processed.  Ignore any requests which
> have a previously seen ID in 'em.

This sounds like the most sensible option. Perhaps take a checksum of  
the info submitted, or assign an id and stick it in the cookie etc  
etc. Javascript should be there *along with* server side solutions,  
not on it's own.

Iain


More information about the london.pm mailing list