john Sun Dec 1 17:06:11 2002 EDT Modified files: /phpdoc/en/reference/session reference.xml Log: Added a note to point out that sessions are not kept which have no registered variables. Index: phpdoc/en/reference/session/reference.xml diff -u phpdoc/en/reference/session/reference.xml:1.20 phpdoc/en/reference/session/reference.xml:1.21 --- phpdoc/en/reference/session/reference.xml:1.20 Thu Oct 10 08:00:02 2002 +++ phpdoc/en/reference/session/reference.xml Sun Dec 1 17:06:11 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.20 $ --> +<!-- $Revision: 1.21 $ --> <reference id="ref.session"> <title>Session handling functions</title> <titleabbrev>Sessions</titleabbrev> @@ -42,6 +42,15 @@ <note> <para> Session handling was added in PHP 4.0. + </para> + </note> + <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> </section>
-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php