You can use a log file to log the time of the last post.

/Why/ do you want to do this? Are you just worried about impatient
people clicking the 'submit' button multiple times, eg a shopping
cart's final 'buy' button?
Maybe associate each POST/cart/basket with a unique ID, so the cart
can only be bought once.

Alternatively, a solution to *help* against multi-clicks is to use
JavaScript to disable the button after the first click.
This solution is not a complete solution, because people can disable
JavaScript, or manually re-enable the button, but it may be enough for
your case.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to