$expire)) { session_destroy(); header("Location: login.php"); exit; } $userName = $_SESSION['user_name'] ?? ''; ?>