session_id()

From: Date: Tue, 12 Feb 2002 20:53:57 +0000
Subject: session_id()
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-84448@lists.php.net to get a copy of this message
I am newbie here.. I am curious has session_id() the same implementation is SID constant? Do they produce the same result? I have page let's say login.php that where SID is not being parsed by PHP and I am trying to find the cause behind (using PHP4) $sid_value="&" .SID; header("location:index.php?error_message=$message$sid_value I get the following url: http://localhost/index.php?error_message=message+goes+here&.SID I actually get &.SID and the end and not SID value? any thoughts? I am sorry for asking but I am completely new to PHP.. Thanks Pax

« previous php.general (#84448) next »