Hey List-
I am having a problem with my authentication process that hopefully someone
can help me with. Here is a little background.
We are using the CFA_SECURE tag to authenticate the user. This tag returns
a bresult and if this is true, we grab a list of groups associated with the
user, as well as their userprofile. When we were running Spectra 1.0.1 we
would use the cfa_user cookie variable to pull the user information after
the cfa_secure authenticated the user. Since cfa_user is not set in 1.5.1,
we switched to the request.cfa.activeuser variable. This was working until
this morning. We are now getting the error:
-----------------------------------------
Error resolving parameter REQUEST.CFA.ACTIVEUSER
The object ACTIVEUSER is not present in the scope named REQUEST.CFA. It is
likely that you have misspelled the name of the object you are trying to
access.
-----------------------------------------
This happens every time we try to authenticate.
We have a development environment that is running an identical copy of this
code and everything is working fine. Therefore the problem is not code
related. Here is the code that is running the authentication:
-----------------------------------------
<cfparam name="form.adminuser" default="">
<cfparam name="form.adminpassword" default="">
<CFA_SECURE
SECURITYCONTEXT="adminsc"
USERNAME="#form.adminuser#"
PASSWORD="#form.adminpassword#"
STORAGETYPE = "cookie"
AUTHENTICATIONURL="/admin/adminlogin.cfm"
R_BRESULT="bResult">
<cfif bResult>
<cfa_userGet
userDirectory = "#request.userDirectory#"
userName = "#request.cfa.activeuser#"
r_stUser = "stUser"
r_stGroups = "stGroups">
<cfset request.lGroups = structkeylist(stGroups)>
<cfa_userProfileGet
dataSource = "#REQUEST.CFA.ecare.DATASOURCE#"
userName = "#request.cfa.activeuser#"
r_stUserProfile = "request.stUserProfile">
<cfelse>
<cflocation url="#cgi.script_name#?#cgi.query_string#&logout=1">
</cfif>
-----------------------------------------
I am not sure what is going on and any insight would be greatly appreciated.
Best Regards,
Steve Jaeger
[EMAIL PROTECTED]
______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.