Problem: User Input Form Inserts Duplicate Record on Page Refresh.
Solution:
This Problem can have 4 different solution, as mention in Article
Preventing Duplicate Record on Page Refreshed
According to me among all mention solution,
Page RedirectSolution is the best.
Use following piece of code, it will work efficient even with URL displayed with URLRewriting
Response.Redirect(Request.UrlReferrer.AbsoluteUri.ToString());
No comments:
Post a Comment