Stopping double clicking with Perl CGI
jesse at fsck.com
Thu May 22 10:25:49 BST 2008
On May 22, 2008, at 5:17 PM, Chris Jack wrote:
> I thought I'd be a disruptive element in the group and ask a Perl
> What is the best way of stopping a user double clicking a button in
> a web page created using Perl CGI? I have written "my first web app"
> and the logs suggest one user double clicked in well less than a
> second. I want a programmatic solution rather than browser
> configuration solution.
> server side - but I am worried about timing issues. I could use
> semaphores server side or do a radical architecture change to some
> sort of queued system but this seems overkill. In fact all of this
> seems overkill for what must really be a common problem requiring a
> mundane solution.
> It seems to me that the logical way to do it would be to disable the
> button when it is pressed, but I haven't found an example of how to
> do that on the web yet.
> Hence I am coming to you lot for inspiration...
> All new Live Search at Live.com
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://london.pm.org/pipermail/london.pm/attachments/20080522/b7685921/PGP.pgp
More information about the london.pm