Hey people, sessions are giving me a head ache!
Look at this, and tell me why it doesn't work, please.....
$Logout = session_destroy();
if($Logout) {
echo "You have been successfully logged out. Have a nice day :)";
} else {
echo "Logout unsuccessful!";
}
No errors get thrown up, but I get "Logout unsuccessful!". Can someone please tell me why?
Thank you,
Stereo