From 1f146b0a2a1bb8c0ea1c0719e7d7df11efcd4e2e Mon Sep 17 00:00:00 2001 From: Andy Lindeman Date: Wed, 2 Apr 2003 12:39:07 +0000 Subject: [PATCH] Fix bug #23001 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@122151 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/session/reference.xml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/reference/session/reference.xml b/reference/session/reference.xml index 5a9d08de6b..f96ba47ecb 100644 --- a/reference/session/reference.xml +++ b/reference/session/reference.xml @@ -1,5 +1,5 @@ - + Session handling functions Sessions @@ -355,18 +355,17 @@ else { Hello visitor, you have seen this page times.

-To continue, click here +To continue, click here ]]> - The <?php echo SID?> - (<?=SID?> can be used if - short_open_tag is enabled) is - necessary to preserve the session id in the case that the user has - disabled cookies. - The <?=SID?> is not necessary, if + The strip_tags is used when printing the SID + in order to prevent XSS related attacks. + + + Printing the SID, like shown above, is not necessary if --enable-trans-sid was used to compile PHP.