Getting rid of "Web page has expired" (POSTDATA error)
| From: | Nicolas Verhaeghe | Date: | Wed, 17 May 2006 22:52:03 +0000 |
| Subject: | Getting rid of "Web page has expired" (POSTDATA error) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-236367@lists.php.net to get a copy of this message | ||
I am having an issue with certain pages preventing the user from going back
to the previous page.
The message given by Firefox is: "The page you are trying to view contains
PSTDATA that has expired from cache".
This happens in the case of an HTML form using the POST method but also a
query object in the URL.
In this case: index.php?id=shopping_cart in my URL, along with a bunch of
form data you carry from page to page in a shopping cart (quantities, what
to remove, addresses, payment info, etc...)
Is this due to the fact that I am mixing POST and query objects or is it
something else?
I already tried adding the following but it does not help:
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
Thanks for your help!