Page 1 of 1

IE6: Back Button & Dynamic Pages

Posted: Fri Sep 05, 2003 3:44 pm
by dstefani
Hello All,
I'm building a data mining app and I'm not generating any pages, it's all on the fly. The first search results come back as a list, with a small bit of information and each row links to a details page. Each page is dynamic, both the list and the details. But when you use the back button in IE6 it gives you the warning.
Warning: Page has Expired The page you requested was created using information you submitted in a form. This page is no longer available. As a security precaution, Internet Explorer does not automatically resubmit your information for you.

To resubmit your information and view this Web page, click the Refresh button.
Do you know of a way to avoid this message and just get the resubmit form data alert window?

Thanks,

- D

Posted: Fri Sep 05, 2003 4:56 pm
by JAM
IE's fault... Try using this header in the start of your script:

Code: Select all

header('Cache-Control: private');

Posted: Fri Sep 05, 2003 5:41 pm
by dstefani
Your are indeed a fine and upstanding member of the PHP community! ;-)
Your fix did the trick.

This forum is so cool!

Thanks,

- D