note 13543 deleted from function.header by jimw
| From: | jimw@php.net | Date: | Wed, 31 Oct 2001 22:05:17 +0000 |
| Subject: | note 13543 deleted from function.header by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-19791@lists.php.net to get a copy of this message | ||
Hi there... Cache problems AGAIN :)
Adding HTTP headers avoid pages to be proxy-cached, ok, it works fine. But how can you prevent IE
from caching a page accessible by the BACK button ??
Those headers :
header ("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header ("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header ("Cache-Control: no-cache, no-store, must-revalidate");
header ("Pragma: no-cache");
avoid proxy cache but not IE local cache. I have a web site with a private section requiring a
login/password. When i disconnect from this section, i would like the pages i just went througth TO
BE UNAUTHORIZED by any person on this available browser. But, after i disconnect, if i press the
BACK button, the private page appears (NB: i check authorized acces with php code at the beginning
of every private page...)
Any solution ? my IE version (french) 5.0 on W2K SP2.
Gregory GOUBERT
ggoubert@dbarc.com