jmcastagnetto Thu Oct 3 23:05:09 2002 EDT Modified files: /phpdoc/en/reference/session reference.xml Log: Adding text to explaing bug #17122 on session variable names Index: phpdoc/en/reference/session/reference.xml diff -u phpdoc/en/reference/session/reference.xml:1.15 phpdoc/en/reference/session/reference.xml:1.16 --- phpdoc/en/reference/session/reference.xml:1.15 Thu Oct 3 04:02:03 2002 +++ phpdoc/en/reference/session/reference.xml Thu Oct 3 23:05:09 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.15 $ --> +<!-- $Revision: 1.16 $ --> <reference id="ref.session"> <title>Session handling functions</title> <titleabbrev>Sessions</titleabbrev> @@ -119,6 +119,14 @@ has been changed to use <varname>$_SESSION</varname> everywhere. You can substitute <varname>$HTTP_SESSION_VARS</varname> for <varname>$_SESSION</varname>, if you prefer the former. + </para> + <para> + The keys in the <varname>$_SESSION</varname> associative + array are subject to the + same limitations as regular variable names in PHP, i.e. they cannot + start with a number and must start with a letter or underscore. + For more details see the section on + <link linkend='language.variables'>variables</link> in this manual. </para> </note>
-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php