Location: PHPKode > projects > Todo Manager > todo/logout.php
<?php
session_start();

$_SESSION["session_user_id"] = NULL;
unset($_SESSION["session_user_id"]);

setcookie("cookie_name", NULL, time() - 1, "/");
setcookie("cookie_password", NULL, time() - 1, "/");

header("Location: login.php");
?>
Return current item: Todo Manager