My computer sits in my home office.
To my knowledge there were no configuration changes.
For some reason there is a problem with the sessions. I will accept it could very well be ME.
I have posted the code for several different scenarios ovee the past two days. I will give you another look see:
echo $row['userid']."=row user id<br>";
$SESSION['uname'] = $row['uname'];
$SESSION['fn'] = $row['first_name'];
$SESSION['userid'] = $row['userid'];
$SESSION['mtype'] = $row['membertype'];
$_SESSION['loggedin'] = '1';
echo $mtype."=Mtype - Login Action after assign<br>";
if ($mtype=='1')
{
$date = date('U');
$userid=$row['userid'];
$updt = dbquery("UPDATE users SET last_login = '$date' WHERE userid = '$userid'");
}// end mtype 1
if ($mtype=='2')
{
echo "Mtype = 2 if statement<br>";
echo $userid."=userid If mtype=2<br>";
$date = date('U');
$result=dbquery("UPDATE users SET last_login = '$date' WHERE userid = '$userid'");
stamp_purchases();
}// End mtype-2
The next page has the following echo:
echo $userid."=Ses Userid<br>";
This code when run produces the following output on the next page. The next page has the following echo:it goes to (the echos are at the top of the next page):
15=row user id
2=Mtype - Login Action after assign
Mtype = 2 if statement
15=userid If mtype=2
=Ses Userid
Note there is no $userid.