note 60546 added to function.session-cache-limiter
| From: | ostertag at gjh dot sk | Date: | Tue, 10 Jan 2006 20:03:19 +0000 |
| Subject: | note 60546 added to function.session-cache-limiter | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-101515@lists.php.net to get a copy of this message | ||
I have big problem with IE. Pages using PHP and loaded in frames IE doesn't want to display
(with error Page could not be displayed). Ploblem is with caching. The only argument of
session_cache_limiter(); is 'must_revalidate'.
Headers with arguments none/nocache/private/private_no_expire/public look:
HTTP/1.1 200 OK
Date: Tue, 10 Jan 2006 19:43:05 GMT
Server: Apache/1.3.31 (Unix) PHP/4.3.9
X-Powered-By: PHP/4.3.9
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Encoding: gzip
Vary: Accept-Encoding
Keep-Alive: timeout=15, max=98
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html
- this leads to error
and with session_cache_limiter('must_revalidate'); before session_start():
HTTP/1.1 200 OK
Date: Tue, 10 Jan 2006 19:39:16 GMT
Server: Apache/1.3.31 (Unix) PHP/4.3.9
X-Powered-By: PHP/4.3.9
Content-Encoding: gzip
Vary: Accept-Encoding
Keep-Alive: timeout=15, max=98
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html
- and this is working
----
Manual Page -- http://www.php.net/manual/en/function.session-cache-limiter.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+60546
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+60546&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+60546&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+60546&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+60546&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+60546&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+60546&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+60546&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+60546&report=yes
Search -- http://master.php.net/manage/user-notes.php