How can i stop users using back button, refresh etc. to make requests that i don't want them to make? For example if the the user submits a form which inserts a database record then presses refresh they submit another databse record the same.
i notice on other sites it will say "this page has expired" or something similar.
When searching i found info about a PRG
pattern, is this the best method or is there other ways. I would like to the use the simplest method possible.