So I have this form which executes a pretty long data posting using AJAX, now I am a bit paranoid that some smart bloke might open firebug and re-trigger posting process, while previous is still in action. How do I avoid this?
Thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can:
actionattribute from form tag.With that said, there’s only so much you can do on the front-end to prevent resubmissions – there’s always a way around. If you are so concerned about this, then server-side validation is also necessary (and usually recommended anyway).