galt
04-13-2002, 03:22 AM
Here is the code:
****************
session_start();
if (!session_is_registered("user")){
$user = new usertrack;
session_register("user");
echo "new";
};
**************
This seems to be executing for every page when it is part of my biggger program, yet seems to work fine on its own. My test script was a bit simpler, since I did not use an object.
session_start();
if (!session_is_registered("test")){
$test = "TESTING";
session_register("test");
echo "TEST";
};
I am 99% sur eit was working until I made some other changes in the program, but I can't be positive.
What kind of bug should I be looking for? This is driving me nuts.
****************
session_start();
if (!session_is_registered("user")){
$user = new usertrack;
session_register("user");
echo "new";
};
**************
This seems to be executing for every page when it is part of my biggger program, yet seems to work fine on its own. My test script was a bit simpler, since I did not use an object.
session_start();
if (!session_is_registered("test")){
$test = "TESTING";
session_register("test");
echo "TEST";
};
I am 99% sur eit was working until I made some other changes in the program, but I can't be positive.
What kind of bug should I be looking for? This is driving me nuts.