I'm running PHPTriad on my local machine and up to this point I've had no discrepencies between how php acts locally and how it acts on my host. Somehow a crucial session variable is being destroyed on my host and I absolutely have no idea what's doing it.
I went through my code and had php echo the variable in different places so I could figure out where it was being reset. I learned that it's happening between one section of code and a file that is being included. This:
echo $_SESSION['variable'];include 'file.php';
echos the variable correctly but then if i echo it on the very first line of the 'file.php' file it is unset.
Does anyone know why this would happen or have any tests I could run to figure this out?