$PHPSESSID is only available if the session is started before current executed script.


Regards,
Andrey
----- Original Message -----
From: "Julio Nobrega Trabalhando" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 18, 2001 1:45 PM
Subject: [PHP] Re: $PHPSESSID on PHP 4.1.0


>   Hi again,
>
>   Here are a few updates (error_reporting(E_ALL)):
>
> $_SESSION['PHPSESSID'];
> // Undefined index PHPSESSID error
>
> <?=SID?>
> // Doesn't work. Not even a undefined variable.
> // echo $SID doesn't either
>
> But:
> echo session_id();
> // works!
>
>   Thanks Andrey for the remainder, but session were already started (checked
> with print_r($_SESSION)), Tim for the creative insight
> ($_SESSION['PHPSESSID']) and Tom, who found the solution.
>
>   So, that's it. Looks like there's no more $PHPSESSID.... That makes
> porting a little bit more annoying :-)
>
> --
>
> Julio Nobrega.
>
> Um dia eu chego lá:
> http://sourceforge.net/projects/toca
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to