[PHP] Forcing browsers to use cached pages

2002-08-26 Thread Mike Mannakee
Hi all, Is there any way to force a browser to use a cached version of a page if the user hits the back button? Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Forcing browsers to use cached pages

2002-08-26 Thread Chris Shiflett
There is no way to force the behavior, but you can exclude the HTTP headers that tell the Web browser to not cache the pages. Cache-Control: no-store, no-cache, must-revalidate Pragma: no-cache Expires: date from the past etc. I believe PHP may include some or all of these when you use session