hairybobby — 2011-06-13T08:10:36-04:00 — #1
I seem to be getting duplicates into my databases. I do not know why. Perhaps if someone hit the back button they enter a set of values twice. How could I stop this happening... to detect if the back button is been hit.
anthonysterling — 2011-06-13T08:19:42-04:00 — #2
You can, and should, implement the Post/Redirect/Get pattern.
g_schuster — 2011-06-13T15:26:03-04:00 — #3
And possibly form tokens.
Each time the form is viewed you add a hiddenfield with a unique ID which get's stored with the data.
If someone resends the same dataset it has the same ID -> show an error message, skip or whatever you like.