Hi,
I am using PHP4 on Win2000 with IIS and am unable to retrieve session variables. I can set them with:
$_SESSION['key'] = $val;
This sets the value in the session file but I cannot retrieve this value if, for example, I use this in another subsequent page:
$thisVal = $_SESSION['key'];
Instead I am presented with the following error:
Notice: Undefined variable: _SESSION in c:\inetpub\ on line x
Do I need to configure something in php.ini, or elsewhere?
Thanks,
Jon Daniels
I am using PHP4 on Win2000 with IIS and am unable to retrieve session variables. I can set them with:
$_SESSION['key'] = $val;
This sets the value in the session file but I cannot retrieve this value if, for example, I use this in another subsequent page:
$thisVal = $_SESSION['key'];
Instead I am presented with the following error:
Notice: Undefined variable: _SESSION in c:\inetpub\ on line x
Do I need to configure something in php.ini, or elsewhere?
Thanks,
Jon Daniels