logout semua session

This commit is contained in:
Kadek Arie Wira Kusuma 2025-03-11 19:41:50 +08:00
parent 4a3c0392d0
commit a4a1c41c9c

View File

@ -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>";
?>