http post - show "webpage has expired" on back button -
When the user hits the back button, the omnipresent "This page has expired" what the browser needs to show is?
OK, default As soon as you are working with a form POST, and then the user hits back and then refreshes, they will show this message that it indicates that the browser is re-depositing the data, but if the page If set to end immediately, they will not need to refresh and they will see that the message ends while coming back to the page
1) Instead of trying to avoid both messages, try:
1) Instead of using a form GET, it depends on you What you are doing but this is not always a good solution because there are size restrictions on the GET request, and the information is passed in the querystrag, which is not the safest of the options.
- or -
2) Redirect a server page to a different page After the post.
It looks as if the answer to a similar question was given here:
As a third option, Can be stopped from going back completely I was the only time to feel the need to do this, pay twice to stop them from being fooled. Although there are better server-side ways to handle it, if your site uses sessions, then you can disable the first cache on the checkout page and stop them from paying twice and can terminate it immediately. And then you can use any kind of flag stored in that session that will actually change the behavior of the page if you return it.
Comments
Post a Comment