mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
bug #22771: session_id(...) causes same cookie to be sent more than once
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@155129 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
9e66649af8
commit
61b4ea2861
1 changed files with 8 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue