
How to prevent the browser from asking whether to post data again after refresh?
Question to the experts.
There is a page. There is a form. We enter something, click submit. The data is fasted and a new page opens.
The problem is if you click refresh, the browser asks whether to post again.
The question is how to get rid of this. how to make the page simply reload by url? (option to redirect known. How else?)
PS No need to advise NOT to profit from refresh. I could not explain it to clients.
P.P.S. For especially nervous - I can delete a topic after receiving an answer.
There is a page. There is a form. We enter something, click submit. The data is fasted and a new page opens.
The problem is if you click refresh, the browser asks whether to post again.
The question is how to get rid of this. how to make the page simply reload by url? (option to redirect known. How else?)
PS No need to advise NOT to profit from refresh. I could not explain it to clients.
P.P.S. For especially nervous - I can delete a topic after receiving an answer.