At home I have a Linux machine running PHP v4.2.2 and have the following code which works correctly..
unset($_SESSION['name']);
However, when I put my files up on a webserver running PHP v4.0.2 it doesn't work. I also tried...
unset($HTTP_SESSION_VARS['name']);
which didn't work either. Does anyone know of a bug with PHP v4.0.2 as far as using unset to remove session variables or any other reason this might not work?
Thanks
unset($_SESSION['name']);
However, when I put my files up on a webserver running PHP v4.0.2 it doesn't work. I also tried...
unset($HTTP_SESSION_VARS['name']);
which didn't work either. Does anyone know of a bug with PHP v4.0.2 as far as using unset to remove session variables or any other reason this might not work?
Thanks