survey/dashboard/logout.php
2023-03-22 17:15:39 +01:00

7 lines
199 B
PHP

<?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
exit();
?>