logout semua session
This commit is contained in:
parent
4a3c0392d0
commit
a4a1c41c9c
@ -5,6 +5,7 @@ setcookie('nama_lengkap', '', time(), '/');
|
||||
setcookie('nis', '', time(), '/');
|
||||
setcookie('angkatan', '', time(), '/');
|
||||
setcookie('status', '', time(), '/');
|
||||
session_start();
|
||||
session_destroy();
|
||||
echo "<script>alert('Berhasil Logout');window.location.href='login.php'</script>";
|
||||
?>
|
Loading…
x
Reference in New Issue
Block a user