Multiple Submission Requests in Quick Succession
This is a bit of an open-ended question, but we have a problem with a web application that in the last step of completing an order is a few post requests, sometimes up to 10 and all within seconds to the page.
They have nothing fancy about this page, the user fills out a form which is then validated using the jQuery form validation plugin. We've seen this behavior show up in several different browsers, especially IE6, but also IE8.
We also managed to raise the error on our own, but nothing unusual happens at the end of browsers, everything happens as usual.
The Apache logs show that multiple mail requests that were made at the same time and the Rails logs show that the application of multiple messages was also received by the application, which made me think it was a browser issue.
I have exhausted all the possibilities I can think of for debugging, so I throw them in there to see if anyone has any ideas on what we can try or look for next.
a source to share
I am at a loss to answer without seeing your code, as it is most likely related to the code. As bad as IE, I doubt it will make two POST requests unless you report it.
My guess on what's going on:
- The user fills out the form, presses Enter.
- Your validation plugin validates the page, sends a POST to the server without preventing the triggering event from starting.
- This triggers the default POST and POST events through the validation plugin.
a source to share