Ive got my website working fine on my windows setup, but when i transfer it to a linux server, the session variables refuse to be destroyed.
session_destroy() works fine, but i want to unset certain sessions variables, not all of them. Ive tried doing $_SESSION['var'] = null, but that doesnt work. Ive checked the phpinfo for the linux server and it looks ok as far as i can tell - register globals is off, short_open_tag is on. Im using an .htaccess file just to point to my includes folder but thats it.
Has anyone else come across this problem or know what might be causing it?
Thanks in advance.
😕