cvs: phpdoc /en/reference/session/functions session-get-cookie-params.xml session-set-cookie-params.xml

From: Date: Mon, 19 Apr 2004 21:24:57 +0000
Subject: cvs: phpdoc /en/reference/session/functions session-get-cookie-params.xml session-set-cookie-params.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969360189@lists.php.net to get a copy of this message
betz Mon Apr 19 17:24:57 2004 EDT Modified files: /phpdoc/en/reference/session/functions session-get-cookie-params.xml session-set-cookie-params.xml Log: call session_set_cookie_params before session_start lifetime is measured in seconds http://cvs.php.net/diff.php/phpdoc/en/reference/session/functions/session-get-cookie-params.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc/en/reference/session/functions/session-get-cookie-params.xml diff -u phpdoc/en/reference/session/functions/session-get-cookie-params.xml:1.3 phpdoc/en/reference/session/functions/session-get-cookie-params.xml:1.4 --- phpdoc/en/reference/session/functions/session-get-cookie-params.xml:1.3 Sun Nov 17 08:52:05 2002 +++ phpdoc/en/reference/session/functions/session-get-cookie-params.xml Mon Apr 19 17:24:57 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/session.xml, last change in rev 1.8 --> <refentry id="function.session-get-cookie-params"> <refnamediv> @@ -21,7 +21,7 @@ <itemizedlist> <listitem> <simpara> - "lifetime" - The lifetime of the cookie. + "lifetime" - The lifetime of the cookie in seconds. </simpara> </listitem> <listitem> http://cvs.php.net/diff.php/phpdoc/en/reference/session/functions/session-set-cookie-params.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc/en/reference/session/functions/session-set-cookie-params.xml diff -u phpdoc/en/reference/session/functions/session-set-cookie-params.xml:1.3 phpdoc/en/reference/session/functions/session-set-cookie-params.xml:1.4 --- phpdoc/en/reference/session/functions/session-set-cookie-params.xml:1.3 Sun Nov 17 08:52:05 2002 +++ phpdoc/en/reference/session/functions/session-set-cookie-params.xml Mon Apr 19 17:24:57 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/session.xml, last change in rev 1.2 --> <refentry id="function.session-set-cookie-params"> <refnamediv> @@ -18,8 +18,10 @@ <methodparam choice="opt"><type>bool</type><parameter>secure</parameter></methodparam> </methodsynopsis> <para> - Set cookie parameters defined in the &php.ini; file. The effect of this - function only lasts for the duration of the script. + Set cookie parameters defined in the &php.ini; file. The effect of this + function only lasts for the duration of the script. Thus, you need to + call <function>session_set_cookie_params</function> for every request and + before <function>session_start</function> is called. </para> <note> <para>

« previous php.doc (#969360189) next »