Angemeldet bleiben

This commit is contained in:
aschwarz
2023-03-29 16:22:45 +02:00
parent a675b295e7
commit 670599777b
62 changed files with 1668 additions and 14210 deletions

View File

@ -1,6 +1,11 @@
<?php
session_start(); //to ensure you are using same session
session_destroy(); //destroy the session
header("location:index.php"); //to redirect back to "index.php" after logging out
echo "
<form name='logout' action='../controller/admin_login.php' method='POST'<27>>
<input type='hidden' name='function' value='logout'>
</form>
<script type='text/javascript'>
document.logout.submit();
</script>";
exit();
?>