Warning, page is out of date, how is this everyone solved
Source: Internet
Author: User
Warning, the page has expired, how is this everyone solved?
The results of the page are searched, and when a message is deleted, a warning appears that the page has expired
Some say in session_start ();
Header ("Cache-control:private");
There was no warning after the addition, but there was another problem.
Just click Delete, the page is the same, to search again, only to appear the result of deleting the message, how can this? This is how to solve AH ~ ~
------Solution--------------------
After deletion, the displayed page you didn't pass the keyword to it.
------Solution--------------------
Add a random number to the URL parameter.
------Solution--------------------
He is a problem with the form of JS//History.back (-1) after submission
Change to location.href= ' prevpage.php ' or PHP code @header (' location:prevpage.php ');
------Solution--------------------
Explore
But refreshed, before the condition of the search is not gone? Reference:
Click Delete to refresh the page no
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