irchtml         Thu Apr  1 04:42:20 2004 EDT

  Modified files:              
    /phpdoc/en/reference/session/functions      session-id.xml 
  Log:
  bug #22771: session_id(...) causes same cookie to be sent more than once 
  
http://cvs.php.net/diff.php/phpdoc/en/reference/session/functions/session-id.xml?r1=1.5&r2=1.6&ty=u
Index: phpdoc/en/reference/session/functions/session-id.xml
diff -u phpdoc/en/reference/session/functions/session-id.xml:1.5 
phpdoc/en/reference/session/functions/session-id.xml:1.6
--- phpdoc/en/reference/session/functions/session-id.xml:1.5    Fri Nov 29 20:54:59 
2002
+++ phpdoc/en/reference/session/functions/session-id.xml        Thu Apr  1 04:42:18 
2004
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
 <!-- splitted from ./en/functions/session.xml, last change in rev 1.2 -->
   <refentry id="function.session-id">
    <refnamediv>
@@ -24,6 +24,13 @@
      For example, the file session handler only allows characters in the range
      <literal>a-z, A-Z and 0-9</literal>!
     </para>
+    <note>
+     <simpara>
+      When using session cookies, <function>session_id</function> will always
+      send a new cookie when <function>session_start</function> is called,
+      regardless if the current session id is identical to the one being set.
+     </simpara>
+    </note>
     <para>
      The constant <systemitem>SID</systemitem> can also be used to
      retrieve the current name and session id as a string suitable for

Reply via email to