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><?php echo SID?></literal>
+ (<literal><?=SID?></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><?=SID?></literal> is not necessary, if
<link linkend="install.configure.enable-trans-sid">
<literal>--enable-trans-sid</literal></link> was used to compile PHP.
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php