Re: cvs: phpdoc /en/reference/session reference.xml
| From: | Gabor Hojtsy | Date: | Sun, 01 Dec 2002 22:14:23 +0000 |
| Subject: | Re: cvs: phpdoc /en/reference/session reference.xml | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969350067@lists.php.net to get a copy of this message | ||
> + <note>
> + <para>
> + Please note when working with sessions that a record of a session
> + is not created until a variable has been registered using the
> + <function>session_register</function> function. This holds true
> + regardless of if a session has been started using the
<function>session_start</function>
> + function.
> </para>
> </note>
This note is incorrect, as you can also register a session variable
by adding a new key into $_SESSION. So this note should be extended
(or it would be better to have a common place where variable
registration methods are described).
Goba