note 82048 added to function.session-cache-limiter
| From: | david at ordal dot com | Date: | Tue, 25 Mar 2008 22:28:29 +0000 |
| Subject: | note 82048 added to function.session-cache-limiter | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-137579@lists.php.net to get a copy of this message | ||
We did quite a lot of trial and error testing in IE 6/7 and FireFox 2.X to see what magic combo
worked so that
1) the browser would cache the state of the page, but
2) The browser or intermediate proxies wouldn't cache the entire page.
Thus a NEW request would reload the page, but back/forward browser navigation wouldn't force a
reload.
We found this worked best across browsers:
session_cache_limiter ('private_no_expire, must-revalidate');
----
Server IP: 64.71.164.2
Probable Submitter: 64.81.57.203
----
Manual Page -- http://www.php.net/manual/en/function.session-cache-limiter.php
Edit -- https://master.php.net/note/edit/82048
Del: integrated -- https://master.php.net/note/delete/82048/integrated
Del: useless -- https://master.php.net/note/delete/82048/useless
Del: bad code -- https://master.php.net/note/delete/82048/bad+code
Del: spam -- https://master.php.net/note/delete/82048/spam
Del: non-english -- https://master.php.net/note/delete/82048/non-english
Del: in docs -- https://master.php.net/note/delete/82048/in+docs
Del: other reasons-- https://master.php.net/note/delete/82048
Reject -- https://master.php.net/note/reject/82048
Search -- https://master.php.net/manage/user-notes.php