This repository has been archived on 2023-01-06. You can view files and clone it, but cannot push or open issues or pull requests.
web/public/logout.php

16 lines
234 B
PHP
Raw Normal View History

2022-01-14 06:43:31 +00:00
<?php
// Initialize the session
session_start();
// Unset all of the session variables
session_unset();
// Destroy the session.
session_destroy();
session_start();
// Redirect to login page
header("location: login.php");
exit;
?>