I have an asp form that has multiple rows where the users can enter data. When they submit the form, I post to another asp page (if no errors) and will insert the information into a database and display text saying it was processed.
The problem I have is that users are pressing the browsers refresh button and inserting (basically) dupe records into the database. They are not completely dupe since we have unique id numbers generated for each record. I have a work around where I post to one asp page that does the inserting into the database and once it's done, it’s redirected to another page to display the text saying it was processed.
Does anyone have any better ideas?
The problem I have is that users are pressing the browsers refresh button and inserting (basically) dupe records into the database. They are not completely dupe since we have unique id numbers generated for each record. I have a work around where I post to one asp page that does the inserting into the database and once it's done, it’s redirected to another page to display the text saying it was processed.
Does anyone have any better ideas?