posted 11 years ago
When the user clicks submit, store the current time in the user's session. The next time they click submit, compare the current time to the time last stored in the session. If the difference is less than X seconds, redirect to the page which tells them to wait.