mirror of
https://github.com/Alvin-Zilverstand/school.git
synced 2026-04-17 18:46:19 +02: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(); |