Re: Browser cache and form with $PHP_SELF
| From: | Hrishi | Date: | Wed, 10 Jan 2001 06:43:26 +0000 |
| Subject: | Re: Browser cache and form with $PHP_SELF | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-33626@lists.php.net to get a copy of this message | ||
try adding a header("Expires: 0"); line at the top of the script. this will
provide an 'already expired' page to the user. i.e., the browser will not
store the page in cache at all.
other headers are:
Cache-Control: max-age=0
Cache-Control: no-cache
these will make sure any proxies/ISP caches will also not store the page.
if you'd like read more on this topic:
rfc #2068, chapter 13
Hrishi
-------------------------------------------
Yeah, there are more important things in life than money, but they won't go
out with you if you don't have any.