Solve problems related to webpage expiration

Source: Internet
Author: User
Tags form post
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;

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.