Ok Im running the code below... it should output:
"test string"
When it first loads....
then when i hit refresh it should load
"test stringtest string"
Right?
Well it only outputs the second echo... meaning it IS saving to the session... but when the page is reloaded... its like clearing the session, or something... I dont understand..
heres the code:
session_start();
echo $_SESSION['test'];
$_SESSION['test'] = 'test string';
echo $_SESSION['test'];
Could someone pleae help me?
Ive used sessions tons of times, but for some reason this server has a problem with it, is there some server setting I dont know about?
Well thanks, and BTW PHP version 4
Thanks
Tony