CSY2028-assignment-1/public/account/logout.php

6 lines
115 B
PHP
Raw Normal View History

2022-11-02 15:46:47 +00:00
<?php
session_start();
unset($_SESSION['loggedin']);
header('Location: ../index.php');
echo '<p>Logged Out</p>';
?>