mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
SID inconsistency (spotted by David Vance)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@196242 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
178147e5b0
commit
51d114e7be
2 changed files with 5 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.10 $ -->
|
||||
<!-- $Revision: 1.11 $ -->
|
||||
<!-- splitted from ./en/functions/session.xml, last change in rev 1.2 -->
|
||||
<refentry id="function.session-id">
|
||||
<refnamediv>
|
||||
|
@ -19,9 +19,8 @@
|
|||
<para>
|
||||
The constant <systemitem>SID</systemitem> can also be used to
|
||||
retrieve the current name and session id as a string suitable for
|
||||
adding to URLs. Note that <systemitem>SID</systemitem> is only defined if
|
||||
the client didn't send the right cookie. See also <link
|
||||
linkend="ref.session">Session handling</link>.
|
||||
adding to URLs. See also <link linkend="ref.session">Session
|
||||
handling</link>.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.51 $ -->
|
||||
<!-- $Revision: 1.52 $ -->
|
||||
<!-- Purpose: basic.session -->
|
||||
<!-- Membership: core -->
|
||||
|
||||
|
@ -352,7 +352,7 @@ if (! isset($_SESSION['count'])) {
|
|||
</para>
|
||||
<para>
|
||||
Alternatively, you can use the constant <literal>SID</literal> which is
|
||||
always defined. If the client did not send an appropriate session
|
||||
defined if the session started. If the client did not send an appropriate session
|
||||
cookie, it has the form <literal>session_name=session_id</literal>.
|
||||
Otherwise, it expands to an empty string. Thus, you can embed it
|
||||
unconditionally into URLs.
|
||||
|
|
Loading…
Reference in a new issue