survey_seahorse

Software Engineering Project - Fall 2018
Log | Files | Refs | README

commit 52a0587082bcab8eb80b5653d7bc6893896a32e7
parent 97dbe8d888b8c604181658df863baaa7402c7e3f
Author: John Kubach <johnkubach@gmail.com>
Date:   Sun, 16 Dec 2018 23:28:27 -0500

unset login-sid

unset session variable 'login-sid' on logout which, if not unset, would continuously send a user to the survey with the corrosponding survey-id on every login.

Diffstat:
Mwebsite/logout.php | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/website/logout.php b/website/logout.php @@ -6,5 +6,6 @@ unset($_SESSION["username"]); unset($_SESSION["date"]); unset($_SESSION['admin']); unset($_SESSION['blocked']); +unset($_SESSION['login-sid']); header("Location: index.php"); ?>