Hi Guys,
I have a ASP:Button which when clicked saves some data in the database. This works fine! But after the save if user refreshes the browser by hitting F5 or clicking the refresh button on the browser the event fires again and saves the data in the DB. How do I stop this??Clear the form of any values. Alternatively, when the user fills in values in the form, take him to another page which does the saving, then go back to the original form, clear of values. Or, move the user to another page after saving their data. A confirmation page, so to speak.
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment