Status/Resolution/Reason: To Fix//BugVerified
Reporter/Name(from Bugbase): Doug C. / ()
Created: 01/17/2020
Components: Security, Authentication
Versions: 2018
Failure Type: Non Functioning
Found In Build/Fixed In Build: update 6 /
Priority/Frequency: Normal / All users will encounter
Locale/System: English / Win 2016
Vote Count: 3
Problem Description:
cflogin works on one instance in the cluster but is not shared with the other instances
Steps to Reproduce:
create a cluster, set session storage on each one to a Redis server monitor what getauthuser returns as requests rotate through the cluster
<cfscript>
if (! StructKeyExists(session,"createdtime")) {
cflogin (){
cfloginuser(name="fred", password="a", roles="user");
}
session.createdtime=now();
}
cluster = createobject("component","CFIDE.adminapi.runtime").getinstancename();
writedump (session);
writedump (cluster);
writeoutput(now());
writeoutput("<br>is here-"&getauthuser()&"-<br>");
writeoutput("is here-"&isuserloggedin()&"-<br>");
sessionRotate();
</cfscript>
Actual Result:
one instance shows "Fred" as the logged in user the others are blank.
Expected Result:
All instances should show user "Fred" as the auth user
Any Workarounds:
Not that I can see
Attachments:
Comments: