> What is the best way to avoid the "repeated comment/post" syndrome
> caused by the user clicking the submit button one too many times
> because he/she did not wait for the browser to return a confirmation
> page or the script took too long to execute.

Along with the other suggestions, 

You can use a processing page that doesn't output anything and just does
the insert and then redirects to a "success" page. Then, if they hit
refresh, then it will only refresh the "success" page, not the
processing page. 

You can also restrict the user to only posting once every XX seconds. 

---John Holmes...


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to