mirror of
https://github.com/Alvin-Zilverstand/school.git
synced 2026-03-07 13:27:51 +01:00
7 lines
192 B
PHP
7 lines
192 B
PHP
<?php
|
|
session_start();
|
|
session_unset(); // Remove all session variables
|
|
session_destroy(); // Destroy the session
|
|
|
|
header("Location: login.php"); // Redirect to login page after logout
|
|
exit(); |