this is drivin me nuts...
i just installed php... i used the advanced mode installation (dont know if this makes a difference)... version 4.3.7
i used to run my code on an earlier version of php and it worked fine (i think it was an earlier version). anyhow.. im not using the latest.. php5 version now... i dont know if this makes a difference
anyhow... i tried to run the same some old code... and it wont work.. the sessions arent working... i figured it might be just the registerglobalvariables in the php.ini... but... i set it to on... and my code still wont work..
just to test the thing... i wrote some really simple code to see if it would work... but it wont....
here is from.php
<?
session_start();
$booya = "booyaka";
$_SESSION['test'] = $booya;
echo $_SESSION['test'];
<a href="to.php">go</a>
?>
here is to.php
<?
session_start();
echo $_SESSION['test'];
?>
from.php dispays $_SESSION['test'] .. so i figure its storing the string in the session variable just fine...
but when i follow the link to to.php, it wont display the session contents at all... earlier i was getting an error message saying the $SESSION['test'] was an undefined variable, but not im not even getting an error... i did re-install php and made a change to 'show all errors' .. i think i set it to no, i cant remember if i set it to no or yes... either way... this must be the reason why im not gettin an error...
but still... im still not understanding why the session isnt working...
i hope you guys can help me out...
here are some other considerations...
i have my firewall on (i dont know if this makes any difference...probably not.. since all files are local... i dont even have an internet connection on that computer)
i set register global variables to 'On'
i have sp2 installed
i tried putting the ie6 header fix on...and i tried it off... neither works..
thanks in advance...
ron