my name is Sven and im experiencing a problem with loggin out of my site. My login code is the following:
$_SESSION['userName'] = $userName;
header("location:success.php");
I've tried several logout codes like session_destroy();
and session_unset();
but non of them seems to log the user probertly out.
Please help