cvs: phpdoc /en/functions session.xml

From: Date: Tue, 18 Dec 2001 19:30:04 +0000
Subject: cvs: phpdoc /en/functions session.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969340042@lists.php.net to get a copy of this message
jimw Tue Dec 18 14:30:04 2001 EDT Modified files: /phpdoc/en/functions session.xml Log: add note that calling session_unregister leaves the corresponding global variable alone. Index: phpdoc/en/functions/session.xml diff -u phpdoc/en/functions/session.xml:1.64 phpdoc/en/functions/session.xml:1.65 --- phpdoc/en/functions/session.xml:1.64 Mon Dec 17 20:06:29 2001 +++ phpdoc/en/functions/session.xml Tue Dec 18 14:30:03 2001 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.64 $ --> +<!-- $Revision: 1.65 $ --> <reference id="ref.session"> <title>Session handling functions</title> <titleabbrev>Sessions</titleabbrev> @@ -640,12 +640,15 @@ <para> This function returns &true; when the variable is successfully unregistered from the session. - <note> - <para> - This function was added in PHP 4.0. - </para> - </note> </para> + <caution> + <para> + This function doesn't unset the corresponding global variable for + <parameter>name</parameter>, it only prevents the variable from being + saved as part of the session. You must call <function>unset</function> + to remove the corresponding global variable. + </para> + </caution> </refsect1> </refentry>

« previous php.doc (#969340042) next »