There is no reliable method, since the behavior on the back is browser dependent. Moreover, if someone comes back through history, and you change what happens, you change history. Metaphysical "woah!" from this aside, this is not a great idea.
What is the problem besides questions related to resending? If the problem with the re-submission form is a problem, you need to deal with it in case of a quick double-click on the submission too late. Include the hidden nonce value (UUID is good), save nonce with your record no matter what it is, and reject duplicate notes.
source share