cvs: phpdoc /en/reference/session reference.xml
| From: | Jesus M. Castagnetto | Date: | Fri, 04 Oct 2002 03:05:09 +0000 |
| Subject: | cvs: phpdoc /en/reference/session reference.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969348964@lists.php.net to get a copy of this message | ||
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>