mirror of
https://github.com/gabrielkheisa/tugas-pjpb.git
synced 2024-11-22 11:41:38 +07:00
14 lines
222 B
PHP
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;
|
|
?>
|