Chriz L

Chriz L

  • NA
  • 220
  • 51.1k

Browser's back button causes double entries on database.

Oct 14 2015 3:13 AM
Hello,
 
I have a webform which inserts data on db (as new record) when submitted.
My problem is, when the user clicks on browser's back button he gets the form supplemented as it was before submission. If he clicks on submit button, the form will be inserted as a new record on db.
 
Any ideas how to prevent that?
 
Thank you in advance. 

Answers (12)