OebbApiWeb/logout.php
2025-07-05 18:57:47 +02:00

9 lines
No EOL
186 B
PHP

<?php
// Start the session
session_start();
// Destroy the active session, which logs the user out
session_destroy();
// Redirect to the login pag
header('Location: index.php');
exit;
?>