On 26 Aug 2009, at 16:02, Jim Burgess wrote:
> > I have a standard form built with rails, which a user to my site can > use > to submit data. Unfortunately one user just managed to submit exactly > the the same data three times in a row. > > From the server logs it seems as though he didn't use his back button > and then resubmit everything. It looks more like he got a bit fed up > waiting for the form to process and pressed the submit button three > times. if the back action just fetched the page from the browser's local cache you wouldn't be able to tell. > > However, I didn't think this was possible in Rails. Is this correct? > Nothing particular in rails to stop this (or rather it is a client side problem really - rails just sees 3 inbound requests) Fred > For the life of me I cannot reproduce this error, even by entering the > exact same data the user did and pressing submit ten times in quick > succession. > > Can anyone give me any tips on as to why this might have happened and > what I can do to prevent this happening in future. > > Thanks in advance. > -- > Posted via http://www.ruby-forum.com/. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

