I've been trying to detect whether a session is already in use with the following code :
if (! $_SESSION)
if (! $PHPSESSID)
if (! $_SESSION['PHPSESSID']) . . .
// declare session vars as
// $SESSION['doremi'];
// $SESSION['xyz'];
But nothing seems to work here. The script never finds the existing session, and keeps redeclaring these session vars when they already exist. I'm using PHP 4.3 on a Win XP platform, using Apache 1.3.
Thanks in advance to anyone who knows what the problem is here (assuming it's not the dumb programmer :queasy: ).