cvs: phpdoc /en/reference/session reference.xml

From: Date: Thu, 10 Oct 2002 12:00:06 +0000
Subject: cvs: phpdoc /en/reference/session reference.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969349102@lists.php.net to get a copy of this message
betz Thu Oct 10 08:00:06 2002 EDT Modified files: /phpdoc/en/reference/session reference.xml Log: example cleanup, mentioned by goba Index: phpdoc/en/reference/session/reference.xml diff -u phpdoc/en/reference/session/reference.xml:1.19 phpdoc/en/reference/session/reference.xml:1.20 --- phpdoc/en/reference/session/reference.xml:1.19 Wed Oct 9 05:50:25 2002 +++ phpdoc/en/reference/session/reference.xml Thu Oct 10 08:00:02 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.19 $ --> +<!-- $Revision: 1.20 $ --> <reference id="ref.session"> <title>Session handling functions</title> <titleabbrev>Sessions</titleabbrev> @@ -326,13 +326,7 @@ } ?> -Hello visitor, you have seen this page <?php echo $count; ?> times.<p>; - -<?php -# the <?php echo SID?> (<?=SID?> can be used if short tag is enabled) -# is necessary to preserve the session id -# in the case that the user has disabled cookies -?> +Hello visitor, you have seen this page <?php echo $count; ?> times.<p> To continue, <A HREF="nextpage.php?<?php echo SID?>">click here</A> ]]> @@ -340,6 +334,11 @@ </example> </para> <para> + The <literal>&lt;?php echo SID?&gt;</literal> + (<literal>&lt;?=SID?&gt;</literal> can be used if + <link linkend="ini.short-open-tag">short_open_tag</link> is enabled) is + necessary to preserve the session id in the case that the user has + disabled cookies. The <literal>&lt;?=SID?&gt;</literal> is not necessary, if <link linkend="install.configure.enable-trans-sid"> <literal>--enable-trans-sid</literal></link> was used to compile PHP.

« previous php.doc (#969349102) next »