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

6 lines
145 B
PHP
Raw Normal View History

2022-11-02 15:46:47 +00:00
<?php
session_start();
unset($_SESSION['loggedin']);
2022-11-16 13:27:51 +00:00
unset($_SESSION['admin']);
echo'<script>window.location.href = "../index.php";</script>';
2022-11-02 15:46:47 +00:00
?>