How to prevent form submission on page refresh? [Resolved]

Posted by Allemahesh under ASP.NET on 3/28/2014 | Points: 10 | Views : 1076 | Status : [Member] [MVP] | Replies : 1
I have aspx page and when I submit the form it will inserted in to db. But again If I press refresh button, then the same form will submitted again.
Now how to prevent form submission on page refresh?




Responses

Posted by: Allemahesh on: 3/28/2014 [Member] [MVP] Silver | Points: 25

Up
0
Down

Resolved
http://csharpdotnetfreak.blogspot.com/2008/12/detect-browser-refresh-to-avoid-events.html

Allemahesh, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response