note 33001 added to function.session-cache-limiter
| From: | pcvandam at xs4all dot nl | Date: | Fri, 13 Jun 2003 11:23:30 +0000 |
| Subject: | note 33001 added to function.session-cache-limiter | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-50277@lists.php.net to get a copy of this message | ||
To get the best of both worlds: making sure form-values are cached, but pages are not (for example
in a CMS with both auto-generated forms and content), use:
session_cache_limiter ('private, must-revalidate');
The older post (2001) about this stated this worked in Netscape 4, but this also works in all recent
IE's (up to 6). You can set this value in the config or use the above statement if you
can't or do not want to change server config.
----
Manual Page -- http://www.php.net/manual/en/function.session-cache-limiter.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+33001
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+33001&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+33001&report=yes