note 82925 added to function.session-cache-limiter
| From: | scott at realorganized dot com | Date: | Fri, 02 May 2008 06:03:44 +0000 |
| Subject: | note 82925 added to function.session-cache-limiter | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-138986@lists.php.net to get a copy of this message | ||
http://us.php.net/session_cache_limiter
sends:
Pragma: no-cache
under some conditions from server to client.
Internet Explorer has a strange interpretation of: Pragma: No-cache
being sent from the server to the client.
Here's the link:
http://support.microsoft.com/kb/234067
If the client communicates with the server over a secure connection (https://) and the server
returns a Pragma: no-cache header with the response, Internet Explorer does not cache the response.
Note, however, that the Pragma: no-cache header was not intended for this. According to the HTTP 1.0
and 1.1 specifications, this header is defined in the context of a request only, not a response, and
is actually intended for proxy servers that may prevent certain important requests from reaching the
destination Web server. For future applications, the Cache-Control header is the proper means for
controlling caching.
For this reason, watch out when using the Pragma: no-cache with https and IE
----
Server IP: 208.69.120.35
Probable Submitter: 168.103.80.207
----
Manual Page -- http://www.php.net/manual/en/function.session-cache-limiter.php
Edit -- https://master.php.net/note/edit/82925
Del: integrated -- https://master.php.net/note/delete/82925/integrated
Del: useless -- https://master.php.net/note/delete/82925/useless
Del: bad code -- https://master.php.net/note/delete/82925/bad+code
Del: spam -- https://master.php.net/note/delete/82925/spam
Del: non-english -- https://master.php.net/note/delete/82925/non-english
Del: in docs -- https://master.php.net/note/delete/82925/in+docs
Del: other reasons-- https://master.php.net/note/delete/82925
Reject -- https://master.php.net/note/reject/82925
Search -- https://master.php.net/manage/user-notes.php