note 82174 added to function.session-cache-limiter

From: Date: Sun, 30 Mar 2008 13:44:44 +0000
Subject: note 82174 added to function.session-cache-limiter
Groups: php.notes 
Request: Send a blank email to php-notes+get-137757@lists.php.net to get a copy of this message
The actual headers that are set using the values described above are: public: Expires: pageload + 3 hours Cache-Control: public, max-age=10800 private: Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: private, max-age=10800, pre-check=10800 nocache: 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 private_no_expire: Cache-Control: private, max-age=10800, pre-check=10800 Regarding other settings mentioned by some, those just don't do anything. Check the source of PHP, in ext/session/session.c -- the above values are all that actually do anything. Other values, or an emtpy string, result in no cache-limiting headers being set at all. ---- Server IP: 69.147.83.197 Probable Submitter: 68.127.143.78 ---- Manual Page -- http://www.php.net/manual/en/function.session-cache-limiter.php Edit -- https://master.php.net/note/edit/82174 Del: integrated -- https://master.php.net/note/delete/82174/integrated Del: useless -- https://master.php.net/note/delete/82174/useless Del: bad code -- https://master.php.net/note/delete/82174/bad+code Del: spam -- https://master.php.net/note/delete/82174/spam Del: non-english -- https://master.php.net/note/delete/82174/non-english Del: in docs -- https://master.php.net/note/delete/82174/in+docs Del: other reasons-- https://master.php.net/note/delete/82174 Reject -- https://master.php.net/note/reject/82174 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#137757) next »