12
Answers

Browser's back button causes double entries on database.

Ask a question
Chriz L

Chriz L

8y
416
1
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)