35598-vm/logout.php
2025-11-10 07:04:51 +00:00

13 lines
193 B
PHP

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