mirror of
https://github.com/gabrielkheisa/tugas-pjpb.git
synced 2024-11-23 12:03:15 +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;
|
|
?>
|