Propagating SID when cookies disabled
| From: | rogue | Date: | Wed, 03 Dec 2003 19:12:15 +0000 |
| Subject: | Propagating SID when cookies disabled | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-171703@lists.php.net to get a copy of this message | ||
Hi all,
I am testing some templates that are using a session. I have PHP compiled with --enable-trans-sid.
It is my understanding that if I have cookies disabled in my browser and this:
<?php
echo '<a href="somepage.php">go</a>';
?>
is in the template, the SID should automatically get stuck on the end of the URL, but this is not happening. In order to pass it, I have to do something like:
<?php
echo '<a href="somepage.php?' . strip_tags(SID) .'">go</a>';
?>
Am I missing something?
thanks