note 60546 rejected from function.session-cache-limiter by nlopess
| From: | nlopess@php.net | Date: | Tue, 10 Jan 2006 20:07:44 +0000 |
| Subject: | note 60546 rejected from function.session-cache-limiter by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-101517@lists.php.net to get a copy of this message | ||
Note Submitter: ostertag at gjh dot sk
----
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