I have a problem with my sessions. I dont know what is going on. The sessions are not going from page to page.. i can access the session variable on the first page that i set it on.. but once i move to the second page it isnt there... i also noticed that when i click on a link on the second page.. it appends the sessionid to the post variables... what is going on!? im losing my mind.
This is the first page, basically:
<?
session_start ();
header("Cache-control: private");
?>
blah blah blah
<?
$temp = 1;
$SESSION['logged_in'] = $temp;
echo $SESSION['logged_in'];
?>
It echos 1.. as it should...
then when i move to page 2....
i start the session... and try to reference the session var.. and it doesnt work..