I want to prevent users submitting forms multiple times in .NET MVC. I\'ve tried several methods using Javascript but have had difficulties getting it to work in all browser
Use the Post/Redirect/Get design pattern.
PS: It looks to me that the answer by Jim Yarbro could have a fundamental flaw in that the __RequestVerificationToken is stored in the HttpContext.Current.Session["LastProcessedToken"], this value will be replaced when a second form is submitted (from say another browser window), at this point it is possible to re-submit the first form and it won’t be recognized as a duplicate submission? For the proposed model to work wouldn’t a history of __RequestVerificationToken be required(?), this wouldn’t be feasible.