For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > July 2005 > cvs: phpdoc /en/reference/session/functions session-name.xml









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author cvs: phpdoc /en/reference/session/functions session-name.xml
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">
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com