You said it yourself "somewhere along the way "client.user_id" is not
getting set". Do you know where it was set the last time? Can you track it
in the cfcase just before the app_secure call? Can you track it in the
footer on the admin page?
Nat Papovich
ICQ 32676414
"I'm for truth no matter who tells it."
-Malcolm X, 1965
-----Original Message-----
From: Jim Priest [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 24, 2000 7:15 AM
To: Fusebox
Subject: setting client.user_id?
I'm trying to use the act_login/logout/secure.cfm files to provide some
security, but am having trouble with navigation once I have logged in.
A simple flow:
login > admin menu > do admin stuff > back to admin menu
I've got my pages wrapped with cf_bodycontent and in my dsp_footer.cfm
I've got a link back to my 'admin menu'
So on the 'do admin stuff' pages there is a link:
<a
href="#request.webroot#/admin/index.cfm?fuseaction=adminmenu&#request.urltok
en#">back to menu</a>
But when I click it - it sends me back to my login screen. By
adminmenu case looks like:
<cfcase value="adminmenu">
<cfmodule template="#request.cfroot#/admin/act_secure.cfm" message="To
view the admin tools you must login...">
<cfinclude template="dsp_admin.cfm">
</cfcase>
And I can see in act_secure.cfm where I'm bombing out:
<!--- The following code will verify they are logged in at all --->
<cfif not isdefined("client.user_id")>
<cf_returnfuseaction
action="set"
returnurl="#attributes.returnurl#"
gotourl="#request.webroot#/admin/index.cfm?fuseaction=loginform">
</cfif>
So somewhere along the way "client.user_id" is not getting set
properly?? What am I missing here??
Thanks,
Jim Priest
----------------------------------------------------------------------------
--
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.