Added note on adding SID to relative URLs only

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@43740 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jesus M. Castagnetto 2001-03-17 06:35:51 +00:00
parent ff59472ac3
commit 0ecdd308b3

View file

@ -159,6 +159,13 @@ To continue, <A HREF="nextpage.php?<?=SID?>">click here</A>
The <literal>&lt;?=SID?&gt;</literal> is not necessary, if
<literal>--enable-trans-sid</literal> was used to compile PHP.
</para>
<para>
<note>
Non-relative URLs are assummed to point to external sites and
hence don't append the SID, as it would be a security risk to
leak the SID to an different server.
</note>
</para>
<para>
To implement database storage, or any other storage method, you
will need to use <function>session_set_save_handler</function> to