Re: [PHP] Re: $PHPSESSID on PHP 4.1.0

2001-12-18 Thread Julio Nobrega Trabalhando
Yes! That's it. I was accessing vars using new methods, but I forgot $PHPSESSID was supposed to have globals on. So simple, yet I have flooded the list with messages. Thanks Andrey, I think it's better next time look at all possible options ;-) -- Julio Nobrega. Um dia eu chego la: http://

Re: [PHP] Re: $PHPSESSID on PHP 4.1.0

2001-12-18 Thread Andrey Hristov
;[EMAIL PROTECTED]> Sent: Tuesday, December 18, 2001 5:53 PM Subject: Re: [PHP] Re: $PHPSESSID on PHP 4.1.0 > Yes, I know. But the problem is PHP 4.1.0, or maybe something on the new > php.ini that comes with. My scripts were echo'ing $PHPSESSID fine before it. > > -- >

Re: [PHP] Re: $PHPSESSID on PHP 4.1.0

2001-12-18 Thread Julio Nobrega Trabalhando
Yes, I know. But the problem is PHP 4.1.0, or maybe something on the new php.ini that comes with. My scripts were echo'ing $PHPSESSID fine before it. -- Julio Nobrega. Um dia eu chego la: http://sourceforge.net/projects/toca "Andrey Hristov" <[EMAIL PROTECTED]> wrote in message 032e01c187db$

Re: [PHP] Re: $PHPSESSID on PHP 4.1.0

2001-12-18 Thread Andrey Hristov
$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: $

[PHP] Re: $PHPSESSID on PHP 4.1.0

2001-12-18 Thread Julio Nobrega Trabalhando
Hi again, Here are a few updates (error_reporting(E_ALL)): $_SESSION['PHPSESSID']; // Undefined index PHPSESSID error // 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

[PHP] Re: $PHPSESSID on PHP 4.1.0

2001-12-18 Thread Andrey Hristov
First NULL string(5) "4.0.4" So I think that the problem is that you haven't started any session. Before session starting PHPSESSID is NULL. That is my opinion. PHPSESSID by default is get as GET parameter. Do you have any GET parameter when starting on a console? Regards, Andrey Hristov Ic