php-general | 2001122

[PHP] Re: $PHPSESSID on PHP 4.1.0 From: Julio Nobrega Trabalhando (inerte <email protected>)
Date: 12/18/01

  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: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>