How to protect a form to be submitted several times

I’am looking for a solution to prevent a user to submit a form
several times.

How do you solve this problem?

Captchas? Only one submit per session…??


Jochen K.
figgfrosch.de / gissmoh.de / ror-ror.de / railswerk.de

Try to disable the submit button using javascript.

Using “onsubmit” in form tag.

That’ll only work until they refresh the page.

Jochen, store a session variable and/or a cookie. Check to see if that
cookie/session exists, then deny them access if it does.

On Dec 28, 2007 3:53 PM, Karthi kn [email protected]
wrote:

Try to disable the submit button using javascript.

Using “onsubmit” in form tag.

Posted via http://www.ruby-forum.com/.


Ryan B.

Feel free to add me to MSN and/or GTalk as this email.