<?php
session_start(); // Start the session

// Destroy all session variables
session_unset(); 

// Destroy the session
session_destroy();

// Redirect to the login page (or any page you'd like after logout)
header("Location: auth-signin.php");
exit(); // Ensure no further code is executed
?>