I was wondering what methods/preventions other programmers use to stop data being entered twice into a MySQL database when a user refreshes on the same page as a form? Obvio
The best way to avoid duplicate record insertion on page refresh is, after inserting records in the database on button click, just add this line:
Response.Write("");