[PHP-DOC] cvs: phpdoc /de/functions session.xml From: Martin Samesch (martin.samesch <email protected>)
Date: 09/02/00

samesch Sat Sep 2 01:46:11 2000 EDT

  Modified files:
    /phpdoc/de/functions session.xml
  Log:
  update from english version 1.26
  
Index: phpdoc/de/functions/session.xml
diff -u phpdoc/de/functions/session.xml:1.21 phpdoc/de/functions/session.xml:1.22
--- phpdoc/de/functions/session.xml:1.21 Sun Aug 27 06:41:03 2000
+++ phpdoc/de/functions/session.xml Sat Sep 2 01:46:10 2000
@@ -813,6 +813,68 @@
    </refsect1>
   </refentry>
 
+ <refentry id="function.session-cache-limiter">
+ <refnamediv>
+ <refname>session_cache_limiter</refname>
+ <refpurpose>Get and/or set the current cache limiter</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <funcsynopsis>
+ <funcprototype>
+ <funcdef>string
+ <function>session_cache_limiter</function>
+ </funcdef>
+ <paramdef>string
+ <parameter><optional>cache_limiter</optional></parameter>
+ </paramdef>
+ </funcprototype>
+ </funcsynopsis>
+ <para>
+ <function>session_cache_limiter</function> returns the name of
+ the current cache limiter. If
+ <parameter>cache_limiter</parameter> is specified, the name of
+ the current cache limiter is changed to the new value.
+ </para>
+ <para>
+ The cache limiter controls the cache control HTTP headers sent to
+ the client. These headers determine the rules by which the page
+ content may be cached. Setting the cache limiter to
+ <literal>nocache</literal>, for example, would disallow any
+ client-side caching. A value of <literal>public</literal>,
+ however, would permit caching. It can also be set to
+ <literal>private</literal>, which is slightly more restrictive
+ than <literal>public</literal>.
+ </para>
+ <para>
+ The cache limiter is reset to the default value stored in
+ <literal>session.cache_limiter</literal> at request startup
+ time. Thus, you need to call
+ <function>session_cache_limiter</function> for every request (and
+ before <function>session_start</function> is called).
+ </para>
+ <example>
+ <title><function>session_cache_limiter</function> examples</title>
+ <programlisting role="php">
+&lt;?php
+
+# set the cache limiter to 'private'
+
+session_cache_limiter('private);
+$cache_limiter = session_cache_limiter();
+
+echo "The cache limiter is now set to $cache_limiter&lt;p&gt;";
+?&gt;
+ </programlisting>
+ </example>
+ <note>
+ <para>
+ This function was added in PHP 4.0.3.
+ </para>
+ </note>
+ </refsect1>
+ </refentry>
+
  </reference>
 
 <!-- Keep this comment at the end of the file