add note that calling session_unregister leaves the corresponding global variable alone.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@65612 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
jim winstead 2001-12-18 19:30:03 +00:00
parent aa046d8616
commit 07867a0b31

View file

@ -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 @@ echo "The previous session name was $previous_name<p>";
<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>