philip Sat Jan 18 00:38:52 2003 EDT Modified files: /phpdoc/en/reference/session/functions session-register.xml Log: Mention that $_SESSION does not implicitly call session_start() like session_register() does. This deals with bug #19068 Index: phpdoc/en/reference/session/functions/session-register.xml diff -u phpdoc/en/reference/session/functions/session-register.xml:1.6 phpdoc/en/reference/session/functions/session-register.xml:1.7 --- phpdoc/en/reference/session/functions/session-register.xml:1.6 Tue Dec 17 05:30:05 2002 +++ phpdoc/en/reference/session/functions/session-register.xml Sat Jan 18 00:38:52 +2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- splitted from ./en/functions/session.xml, last change in rev 1.2 --> <refentry id="function.session-register"> <refnamediv> @@ -56,7 +56,8 @@ <para> If <function>session_start</function> was not called before this function is called, an implicit call to <function>session_start</function> with no - parameters will be made. + parameters will be made. <varname>$_SESSION</varname> does not mimick + this behavior and requires <function>session_start</function> before use. </para> <para> You can also create a session variable by simply setting the
-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php