Hey all,
I have had a number of users that bookmarked a page on their desktop, that contains a PHPSESSID=blahblah... When they click on it, it is logging into the program using that old session id.. and with multiples doing it, it is causing a problem. I am trying to have it kill that session, reload the page, grab a fresh session and start them good if they have this one particular phpsessid.. I cant seem to get it to drop the old one and make a new one though. It just keeps looping around with the old one.. anyone have any ideas?
if ($PHPSESSID == 'somesessionid') {
session_destroy();
headerFunction("../general/login.php?");
//Also tried: headerFunction("../general/login.php?".session_name()."=".session_id());
}
headerFunction simply tells it to reload the particular url mentioned. It is keeping the session id and just reloading the page over and over.