I just want to make sure that the page they are being sent from can not be accessed again by using the browser back button. My idea of the ‘replace entry in browser history’ is to basically remove the page they are leaving from the browser history so as to make the user unable to press the browser back button to see the same URL.

I understand your explanation, but is there another way that I could basically remove the page URL from the browser history so they can not press the back button to go back to the page I am sending them from?

The use case is a link that is sent via email for a person to provide a recommendation for an applications user. The link already has a key which once the recommendation is saved will be removed from the data type so as to basically void the URL and ensure the recommendation can not be changed.

I basically wanted to take that one step further with the browser back button not allowing a backward navigation.

In the end if I can’t I guess I could set a redirect if the key in the URL is not found on page load.