svn: /phpdoc/en/trunk/reference/session/functions/ session-cache-limiter.xml session-decode.xml session-encode.xml

From: Date: Mon, 20 Feb 2012 15:20:33 +0000
Subject: svn: /phpdoc/en/trunk/reference/session/functions/ session-cache-limiter.xml session-decode.xml session-encode.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-9622@lists.php.net to get a copy of this message
drak Mon, 20 Feb 2012 15:20:33 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=323384 Log: Updates to sessions functions. session_decode() session_encode() session_cache_limiter() Changed paths: U phpdoc/en/trunk/reference/session/functions/session-cache-limiter.xml U phpdoc/en/trunk/reference/session/functions/session-decode.xml U phpdoc/en/trunk/reference/session/functions/session-encode.xml Modified: phpdoc/en/trunk/reference/session/functions/session-cache-limiter.xml =================================================================== --- phpdoc/en/trunk/reference/session/functions/session-cache-limiter.xml 2012-02-20 14:09:09 UTC (rev 323383) +++ phpdoc/en/trunk/reference/session/functions/session-cache-limiter.xml 2012-02-20 15:20:33 UTC (rev 323384) @@ -5,7 +5,7 @@ <refname>session_cache_limiter</refname> <refpurpose>Get and/or set the current cache limiter</refpurpose> </refnamediv> - + <refsect1 role="description"> &reftitle.description; <methodsynopsis> @@ -14,7 +14,7 @@ </methodsynopsis> <para> <function>session_cache_limiter</function> returns the name of the - current cache limiter. + current cache limiter. </para> <para> The cache limiter defines which cache control HTTP headers are sent to @@ -32,6 +32,10 @@ <literal>Expire</literal> header is never sent to the client in this mode. </para> <para> + Setting the cache limiter to <literal>''</literal> will turn off automatic sending + of cache headers entirely. + </para> + <para> The cache limiter is reset to the default value stored in <link linkend="ini.session.cache-limiter">session.cache_limiter</link> at request startup time. Thus, you need to call @@ -120,7 +124,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - Returns the name of the current cache limiter. + Returns the name of the current cache limiter. </para> </refsect1> @@ -146,7 +150,7 @@ </tgroup> </informaltable> </para> - </refsect1> + </refsect1> <refsect1 role="examples"> &reftitle.examples; Modified: phpdoc/en/trunk/reference/session/functions/session-decode.xml =================================================================== --- phpdoc/en/trunk/reference/session/functions/session-decode.xml 2012-02-20 14:09:09 UTC (rev 323383) +++ phpdoc/en/trunk/reference/session/functions/session-decode.xml 2012-02-20 15:20:33 UTC (rev 323384) @@ -13,10 +13,14 @@ <methodparam><type>string</type><parameter>data</parameter></methodparam> </methodsynopsis> <para> - <function>session_decode</function> decodes the session data in - <parameter>data</parameter>, and populates the $_SESSION superglobal + <function>session_decode</function> decodes the serialized session data provided in + <parameter>$data</parameter>, and populates the $_SESSION superglobal with the result. </para> + <para> + Please note the unserialization method is not the same as <function>unserialize</function>. + The serialization method is internal to PHP can can be set using <link linkend="ini.session.serialize-handler">session.serialize_handler</link>. + </para> </refsect1> <refsect1 role="parameters"> @@ -47,6 +51,7 @@ <para> <simplelist> <member><function>session_encode</function></member> + <member><link linkend="ini.session.serialize-handler">session.serialize_handler</link></member> </simplelist> </para> </refsect1> Modified: phpdoc/en/trunk/reference/session/functions/session-encode.xml =================================================================== --- phpdoc/en/trunk/reference/session/functions/session-encode.xml 2012-02-20 14:09:09 UTC (rev 323383) +++ phpdoc/en/trunk/reference/session/functions/session-encode.xml 2012-02-20 15:20:33 UTC (rev 323384) @@ -13,10 +13,13 @@ <void/> </methodsynopsis> <para> - <function>session_encode</function> returns a string with the - contents of the current session encoded within. The current session - data is taken from the $_SESSION superglobal. + <function>session_encode</function> returns a serialized string of the + contents of the current session data stored in the $_SESSION superglobal. </para> + <para> + Please note the serialization method is not the same as <function>serialize</function>. + The serialization method is internal to PHP can can be set using <link linkend="ini.session.serialize-handler">session.serialize_handler</link>. + </para> </refsect1> <refsect1 role="returnvalues"> @@ -31,6 +34,7 @@ <para> <simplelist> <member><function>session_decode</function></member> + <member><link linkend="ini.session.serialize-handler">session.serialize_handler</link></member> </simplelist> </para> </refsect1>

« previous php.doc.cvs (#9622) next »