note 66504 added to function.session-cache-limiter
| From: | tdexteratinspireworksinccotcom at osu1 dot php dot net | Date: | Wed, 24 May 2006 16:23:07 +0000 |
| Subject: | note 66504 added to function.session-cache-limiter | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-111946@lists.php.net to get a copy of this message | ||
I see several notes here regarding the use of:
session_cache_limiter("must-revalidate");
...which struck me as odd, since it isn't documented at all. I ran a few tests to see what
result this had and found that is causes the same headers as setting the cache limiter to
'none'. That is, it sends no Cache-Control, Pragma, or Expires headers at all.
The reason I looked into this was because we had problems feeding flash data from php via SSL (only
in MSIE), and it was being caused by the nocache headers, as documented here:
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=fdc7b5c
I still haven't decided on the best setting to use. I'm afraid that 'none' may
end up causing caching of data that's supposed to be dynamic (though I've yet to see it do
that). I may try session_cache_limit('private') along with session_cache_expire(0) and
see how I make out.
And oh yea...IE bites :D
Tom
----
Server IP: 216.194.113.175
Probable Submitter: 67.81.174.173
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.session-cache-limiter.php
Edit -- http://master.php.net/note/edit/66504
Del: integrated -- http://master.php.net/note/delete/66504/integrated
Del: useless -- http://master.php.net/note/delete/66504/useless
Del: bad code -- http://master.php.net/note/delete/66504/bad+code
Del: spam -- http://master.php.net/note/delete/66504/spam
Del: non-english -- http://master.php.net/note/delete/66504/non-english
Del: in docs -- http://master.php.net/note/delete/66504/in+docs
Del: other reasons-- http://master.php.net/note/delete/66504
Reject -- http://master.php.net/note/reject/66504
Search -- http://master.php.net/manage/user-notes.php