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.