note 7059 deleted from Session handling functions by sas
| From: | sas@php.net | Date: | Thu, 17 Aug 2000 21:17:04 +0000 |
| Subject: | note 7059 deleted from Session handling functions by sas | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-2231@lists.php.net to get a copy of this message | ||
As a responce to jnutter@csp.net, Disabling proxy caches usually involves putting something special
in the HTTP header...
the w3 spec for HTTP 1.1 are here:
http://www.w3.org/Protocols/rfc2068/rfc2068
(chapter 13, specificely, top of page 81)
the w3 spec for HTTP 1.0 are here:
http://www.w3.org/Protocols/rfc1945/rfc1945
(chapter 10.12)
This is what I came up with to disable caching:
HTTP 1.1
Cache-Control: no-cache
HTTP 1.0
Pragma: no-cache
So if you included both these header lines, you should be safe from caching (I think, as I've
never actually tried this).