SID
| From: | n e t b r a i n | Date: | Mon, 30 Oct 2000 15:49:11 +0000 |
| Subject: | SID | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-22642@lists.php.net to get a copy of this message | ||
Hi all,
I've got a strange problem with the use of the sessions on my php script ...
everything works fine except for the use of the SID constant ... I mean:
all my script start with
session_start();
but if I try to use the SID inside them (e.g. <..
my_file.php?<?=SID;?>>link</a> ....), nothing is printed, simply leaving a
blank query string ...
I've tried to print it in several ways, but nothing seems to work ...
e.g.
<?print SID;?>
<?echo(SID);?>
... etc. ...
Many thanks in advance.
Max
ps. I'm on IIS + php 4.0.3