Re: [PHP] Getting rid of Web page has expired (POSTDATA error)

2006-05-18 Thread Chris Shiflett

I wrote an article on this subject that might help:

http://shiflett.org/articles/guru-speak-nov2004

Chris

--
Chris Shiflett
Principal, OmniTI
http://omniti.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Getting rid of Web page has expired (POSTDATA error)

2006-05-17 Thread Nicolas Verhaeghe
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!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php