Solve the problem of webpage expiration a few days ago, I made an app around the exclusive, so that the page can list the store information within 1000 of the surrounding area as follows: list page, then click the information on the list, the detailed information is displayed as follows: The detail page is displayed, but the page will be displayed every time the page is removed from the detail page. However, the page is normal when the page is refreshed, so it's strange. The first jump between pages is form submission, and then changed to hyperlink with parameters to solve the problem of webpage expiration.
A few days ago, I was working on an application around happy moments so that the page could list the store information within 1000 of the surrounding area as follows:
List page
Click the information in the list to display its details, as shown below:
Detail Page
However, each time the page is removed from the detail page, the page will display the page Expiration:
However, when the page is refreshed, the page is normal again, so it feels strange.
At the beginning of the jump between pages, I submitted the form and changed it to a hyperlink with a parameter for submission. but the problem still persists, so I hope you can help solve it.
Also, I use the yii Framework.
------ Solution --------------------
I encountered the same problem. did your list page arrive through form post?
It seems that if it is changed to get, it will not expire. if it still does not work, write js on the previous page of the list and change the form submission to window. location. href.
------ Solution --------------------
Reference:
I encountered the same problem. did your list page arrive through form post?
It seems that if it is changed to get, it will not expire. if it still does not work, write js on the previous page of the list and change the form submission to window. location. href.
Agree. let's say:
Window. location. href + session method;