RE: [PHP-WIN] Caching Secure Pages

From: Date: Thu, 29 Nov 2001 10:29:27 +0000
Subject: RE: [PHP-WIN] Caching Secure Pages
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-10650@lists.php.net to get a copy of this message
How about caching them for only a short period? (such as 15 minutes or whatever) I imagine that is how the majority of website's do this. Ross -----Original Message----- From: Matthew Walden [mailto:mwalden@ukonline.co.uk] Sent: 29 November 2001 10:26 To: php-windows@lists.php.net Subject: [PHP-WIN] Caching Secure Pages I am having problems using sessions and caching. I have an application that requires you to log in to be able to access certain pages. The pages that require a login include a file which checks the session data and ensures that you have a valid session etc. My problem is that if the user logs out, and then goes back to these secure pages they still display as if the user was logged in. I know how to stop them caching with headers, but the problem is that if I do this, then the user cannot use their back button because the browser displays the following message : ---------------------- 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. ---------------------- So in summary I need a way to stop pages from caching but still allow the user to use their "back" button to go back to them as long as they are logged in. I have seen this done and it is possible some how.... Any help would be greatly appreciated. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net For additional commands, e-mail: php-windows-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.windows (#10650) next »