| Jakub Vrana 2005-07-30, 3:59 am |
| vrana Sat Jul 30 04:44:30 2005 EDT
Modified files:
/phpdoc/en/reference/session/functions session-name.xml
Log:
Session name must contain a letter (bug #27688)
http://cvs.php.net/diff.php/phpdoc/...1.4&r2=1.5&ty=u
Index: phpdoc/en/reference/session/functions/session-name.xml
diff -u phpdoc/en/reference/session/functions/session-name.xml:1.4 phpdoc/en/reference/session/functions/session-name.xml:1.5
--- phpdoc/en/reference/session/functions/session-name.xml:1.4 Wed May 19 04:46:40 2004
+++ phpdoc/en/reference/session/functions/session-name.xml Sat Jul 30 04:44:26 2005
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/session.xml, last change in rev 1.2 -->
<refentry id="function.session-name">
<refnamediv>
@@ -27,6 +27,12 @@
for every request (and before <function>session_start</function>
or <function>session_register</function> are called).
</para>
+ <warning>
+ <para>
+ Session name can't consist only from digits, at least one letter must be
+ present. Otherwise new session id is generated every time.
+ </para>
+ </warning>
<example>
<title><function>session_name</function> examples</title>
<programlisting role="php">
|