| Current Path : C:/xampp/htdocs/clinic/ |
| Current File : C:/xampp/htdocs/clinic/logout.php |
<?php
// Start the session
session_start();
// Destroy the session
session_unset();
session_destroy();
var_dump($_SESSION); // Debug session variables
// Redirect to the login page
header("Location: login.php");
exit();
?>