Home >Backend Development >PHP Tutorial >Is the error on this return page related to the POST submission method?

Is the error on this return page related to the POST submission method?

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

There is a link to page B on page A. Click the link to jump to page B. If I search for a piece of data on page A (page A uses the POST submission method when searching and the data has nothing to do with page B). After searching for the data, Then click the link on page B. After entering page B and 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, then click the return button of the browser to return to page A. The error does not occur. Why? Is it related to the POST submission method?

Is the error on this return page related to the POST submission method?

Reply content:

There is a link to page B on page A. Click the link to jump to page B. If I search for a piece of data on page A (page A uses the POST submission method when searching and the data has nothing to do with page B). After searching for the data, Then click the link on page B. After entering page B and 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, then click the return button of the browser to return to page A. The error does not occur. Why? Is it related to the POST submission method?



Is the error on this return page related to the POST submission method?

Have you tried changing it to

get

? This is a very normal scene! In some websites, the search webpage must have links to other pages, and there must be more than one link. From what you describe, it is postsubmit and return.

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