tugas-pjpb/logout.php
gabrielkheisa ad3f499895 first
2022-10-02 16:13:30 +07:00

14 lines
222 B
PHP

<?php
// Initialize the session
session_start();
// Unset all of the session variables
$_SESSION = array();
// Destroy the session.
session_destroy();
// Redirect to login page
header("location: login.php");
exit;
?>