Further additions of the underneath coding have not fixed the problem.
I have also tried shutting down the laptop and restarting. Still does not destroy session. So I now have a most stubborn user that remains permanengly signed in, and that I could not remove.
The only way I could sign in a different user was to:
use the exit function so it left a clickable link on the logout page;
and then to go to the login page and comment out lines as follows:
**************
// $Authenticate->RememberMe = (isset($_POST["Log_In_group_3_Remember_my_information"]));
// $Authenticate->SaveLogin = (isset($_POST["Log_In_group_4_Log_me_in_automatically"]));
// $Authenticate->AutoLogin = true;
// $Authenticate->AutoReturn = true;
// $SuccessRedirect = "presenters_switchboard.php";
$FailedRedirect = "presenters_login.php?failedLogin=1";
// $Authenticate->SuccessRedirect = $SuccessRedirect;
// $Authenticate->FailRedirect = $FailedRedirect;
***********
I could then click to go to the login page which did now not automatically redirect me.
I could then sign in a new user, but that new user got the message on the login page that he or she was already signed in. But at least I had a new user!!
Here is the added code that seems to be serving no purpose on the logout page.
At least my Presenters can appear to themselves to be signing out and then in again.
Thank you for your help.
****************
<?php
session_start();
$_SESSION['insert_check'] = null;
$_SESSION['currentclass'] = null;
$_SESSION['SecurityAssist_ID'] = null;
$_SESSION = array();
session_destroy();
?>
<?php
$exitmessage = "<p style=\"text-align: center; margin-left: 40%; margin-right: 40%; \">You have successfully logged out.<br />Thank you for visiting.<br /></p><a href=\"presenters_login.php\" class=\"button fit primary\" style=\"text-align: center; \">press to return to presenters' login page</a>";
session_start();
unset($_SESSION['insert_check']);
unset($_SESSION['currentclass']);
unset($_SESSION['SecurityAssist_ID']);
exit($exitmessage);
?>