I am doing web development.
I have a page to do with credit card, which when user click "refresh" or "Back", the transaction will be performed one more time, which is unwanted.
This include Browser top left "Back" & "Refresh" button, "right click->Refresh/Back", press "F5" key. This is to be done on certain cgi page only, not all of them.
The standard way is to do it in 3 steps.
- the form page submits fields to processing page
- processing page processes data and redirects to result page
- result page just displays results, reloading it won't do any harm.