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.urltoken#">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.