Re: Preventing multiple submits
[email protected] Thu, 17 Feb 2005 09:07:51 -0600
| Newsgroups | gmane.comp.apache.mod-ruby |
|---|---|
| Message-ID | <[email protected]> |
Have you considered using JavaScript on the client-side for that? It's trivial to set up. Matthew On Thu, Feb 17, 2005 at 12:39:22PM +0100, the entity known as Andi Scharfstein wrote: > Hi, > on my website, there is a form where users can submit data to the > site. I was just wondering if there was a simple (server-side) way to > check if the user has already submitted something and preventing him > from submitting the same thing twice (because he clicked on 'Submit' > multiple times because the site took a little longer to load, or > something along those lines). Can you achieve this in mod_ruby without > resorting to more than moderately complex measures? > > -- > Bye: Andi S. mailto:[email protected] > >