note 9086 added to Session handling functions
| From: | ricmarques at spamcop dot net | Date: | Sun, 15 Oct 2000 21:16:15 +0000 |
| Subject: | note 9086 added to Session handling functions | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-6509@lists.php.net to get a copy of this message | ||
Regarding session.cache_limiter :
For those of you who - like me - had trouble finding the meaning of the possible values (nocache,
public and private), here's the explaination taken from the HTTP 1.1 Specification at
http://www.w3.org/Protocols/rfc2068/rfc2068
"14.9.1 What is Cachable
[snip]
public
Indicates that the response is cachable by any cache, even if it would normally be non-cachable or
cachable only within a non-shared cache. (See also Authorization, section 14.8, for additional
details.)
private
Indicates that all or part of the response message is intended for a single user and MUST NOT be
cached by a shared cache. This allows an origin server to state that the specified parts of the
response are intended for only one user and are not a valid response for requests by other users. A
private (non-shared) cache may cache the response.
Note: This usage of the word private only controls where the response may be cached, and cannot
ensure the privacy of the message content.
no-cache
Indicates that all or part of the response message MUST NOT be cached anywhere. This allows an
origin server to prevent caching even by caches that have been configured to return stale responses
to client requests.
Note: Most HTTP/1.0 caches will not recognize or obey this directive."
http://www.php.net/manual/ref.session.php