Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
December 9, 2009, 7:25 am
rate this thread
In goto_main.php file I have:
$_SESSION['values'] = some array;
In main.php file I have:
The problem is that the array is printed with var_dump although I call
unset() and session_destroy(). I don't know why.
Please help. Thanks in advance.
December 9, 2009, 8:23 am
December 10, 2009, 8:21 am
Re: $_SESSION not empty in spite of session_destroy()
my guess is that main.php is not being found and therefore isn't
running your clearing code
I think technically speaking the "Location: url" should be 'http://
yoursite/main.php' instead of 'main.php'. It's a strange problem i
don't recall having see this one before.