Home  >  Article  >  Backend Development  >  Why do I get an error when clicking the browser's back button?

Why do I get an error when clicking the browser's back button?

WBOY
WBOYOriginal
2016-08-18 09:15:581275browse

There is a link to page B on page A. Clicking the link can jump to page B. If I search for a piece of data on page A, search for the data and then click the link on page B (the data has nothing to do with page B). When entering page B If you then click the browser's return button to return to page A, an error will occur. If you do not search for data on page A and directly click the link to enter page B, and then click the browser's return button to return to page A, no error will occur. Why?

Why do I get an error when clicking the browser's back button?

Reply content:

There is a link to page B on page A. Clicking the link can jump to page B. If I search for a piece of data on page A, search for the data and then click the link on page B (the data has nothing to do with page B). When entering page B If you then click the browser's return button to return to page A, an error will occur. If you do not search for data on page A and directly click the link to enter page B, and then click the browser's return button to return to page A, no error will occur. Why?



Why do I get an error when clicking the browser's back button?

Is the search on page A a form submitted through POST?

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn