.net - Can Page Post Multiple Times Silently -


we're working in .net mvc , have form submit email request. user on unstable internet connection (on airplane) , claims despite clicking send button once, form posted 6 times, resulting in 6 emails being sent. i've been looking around, have not been able find way explain behavior. there way posted form submit multiple times due spotty connection?

that depend on actual browser, have yet see 1 doing (in fact, doing dangerous, e.g. in context of online ordering service example).

however, such things can happen accident rather easily. people aren't aware of multiple clicks, because don't notice first click triggering anything. might happen browser doesn't show loading action/activity, unstable connections. it's possible due hardware problem (broken mouse button) multiple clicks executed, despite clicking once.

just sure, i'd add minimal javascript code form: on submit, disable submit button , avoid further attempts send form (intercept onsubmit event , return true first time; there on return false).


Comments

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -