samesch Wed Oct 29 03:52:32 2003 EDT
Modified files: /phpdoc/en/reference/session/functions session-unset.xml Log: sorry, hopefully correct correction this time... Index: phpdoc/en/reference/session/functions/session-unset.xml diff -u phpdoc/en/reference/session/functions/session-unset.xml:1.5 phpdoc/en/reference/session/functions/session-unset.xml:1.6 --- phpdoc/en/reference/session/functions/session-unset.xml:1.5 Tue Oct 28 15:45:38 2003 +++ phpdoc/en/reference/session/functions/session-unset.xml Wed Oct 29 03:52:31 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./en/functions/session.xml, last change in rev 1.8 --> <refentry id="function.session-unset"> <refnamediv> @@ -22,7 +22,8 @@ <para> If <varname>$_SESSION</varname> (or <varname>$HTTP_SESSION_VARS</varname> for PHP 4.0.6 or less) is - used, use $_SESSION = array(); to unregister a session variable. + used, use <function>unset</function> to unregister a session + variable, i.e. <literal>unset ($_SESSION['varname'])</literal>; </para> </note> <para>