cvs: phpdoc /en/reference/session ini.xml /en/reference/session/functions session-cache-limiter.xml
| From: | Hannes Magnusson | Date: | Sun, 21 Jun 2009 20:16:32 +0000 |
| Subject: | cvs: phpdoc /en/reference/session ini.xml /en/reference/session/functions session-cache-limiter.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-4186@lists.php.net to get a copy of this message | ||
bjori Sun Jun 21 20:16:32 2009 UTC
Modified files:
/phpdoc/en/reference/session/functions session-cache-limiter.xml
/phpdoc/en/reference/session ini.xml
Log:
Document the valid limiters
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/session/functions/session-cache-limiter.xml?r1=1.10&r2=1.11&diff_format=u
Index: phpdoc/en/reference/session/functions/session-cache-limiter.xml
diff -u phpdoc/en/reference/session/functions/session-cache-limiter.xml:1.10
phpdoc/en/reference/session/functions/session-cache-limiter.xml:1.11
--- phpdoc/en/reference/session/functions/session-cache-limiter.xml:1.10 Sun May 3 15:59:44 2009
+++ phpdoc/en/reference/session/functions/session-cache-limiter.xml Sun Jun 21 20:16:31 2009
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.10 $ -->
+<!-- $Revision: 1.11 $ -->
<refentry xmlns="http://docbook.org/ns/docbook"
xml:id="function.session-cache-limiter">
<refnamediv>
<refname>session_cache_limiter</refname>
@@ -51,6 +51,66 @@
If <parameter>cache_limiter</parameter> is specified, the name of the
current cache limiter is changed to the new value.
</para>
+ <table>
+ <title>Possible values</title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Value</entry>
+ <entry>Headers sent</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry><literal>public</literal></entry>
+ <entry>
+ <programlisting role="header">
+<![CDATA[
+Expires: (sometime in the future, according session.cache_expires)
+Cache-Control: public, max-age=(sometime in the future, according to session.cache_expire
+Last-Modified: (the timestamp of when the session was last saved)
+]]>
+ </programlisting>
+ </entry>
+ </row>
+ <row>
+ <entry><literal>private_no_expire</literal></entry>
+ <entry>
+ <programlisting role="header">
+<![CDATA[
+Cache-Control: private, max-age=(session.cache_expire in the future),
pre-check=(session.cache_expire in the future)
+Last-Modified: (the timestamp of when the session was last saved)
+]]>
+ </programlisting>
+ </entry>
+ </row>
+ <row>
+ <entry><literal>private</literal></entry>
+ <entry>
+ <programlisting role="header">
+<![CDATA[
+Expires: Thu, 19 Nov 1981 08:52:00 GMT
+Cache-Control: private, max-age=(session.cache_expire in the future),
pre-check=(session.cache_expire in the future)
+Last-Modified: (the timestamp of when the session was last saved)
+]]>
+ </programlisting>
+ </entry>
+ </row>
+ <row>
+ <entry><literal>nocache</literal></entry>
+ <entry>
+ <programlisting role="header">
+<![CDATA[
+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
+]]>
+ </programlisting>
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
</listitem>
</varlistentry>
</variablelist>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/session/ini.xml?r1=1.57&r2=1.58&diff_format=u
Index: phpdoc/en/reference/session/ini.xml
diff -u phpdoc/en/reference/session/ini.xml:1.57 phpdoc/en/reference/session/ini.xml:1.58
--- phpdoc/en/reference/session/ini.xml:1.57 Sun Jun 21 18:35:35 2009
+++ phpdoc/en/reference/session/ini.xml Sun Jun 21 20:16:32 2009
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.57 $ -->
+<!-- $Revision: 1.58 $ -->
<section xml:id="session.configuration" xmlns="http://docbook.org/ns/docbook">
&reftitle.runtime;
&extension.runtime;
@@ -538,7 +538,7 @@
<simpara>
<literal>session.cache_limiter</literal> specifies cache
control method to use for session pages
- (none/nocache/private/private_no_expire/public). Defaults to
+ (nocache/private/private_no_expire/public). Defaults to
<literal>nocache</literal>. See also
<function>session_cache_limiter</function>.
</simpara>