include("include/loginout.inc");?> $loggedIn = false; //doubly ensure that user gets logged out. //as long as url reference is ./index.php?logout=true if (isset($_GET['logout'])) { if ($_GET['logout'] == "true") { $_SESSION= array(); session_destroy(); } } if (isset($_SESSION['username']) && isset($_SESSION['firstname'])) { //user is already logged in. dont need to display login screen $loggedIn = true; } ?>
![]() |
![]() |
![]() |
|
|
|
|||