I've been trying to figure out how to make my app save user credentials into
session params after they've logged in. My intent is to save those values
within my controller's prefuseaction method and use the sessions in subsequent
steps:
<cfloginuser name="#theusername#" password="#thepassword#"
roles="#getUserInfo.role#">
<cfset session.username = GetAuthUser() >
<cfset session.userrole = GetUserRoles() >
To verify values were saved I printed them in my layout in postfuseaction:
<cfset event.xfa("username", structfind(session,"username"))>
...
<cfoutput>#xfa.username#</cfoutput>
And I get a big, fat nothing. So my question is how do you handle user creds
in your apps?
tia,
- Joe
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f
Archive: http://www.houseoffusion.com/groups/fusebox/message.cfm/messageid:6965
Subscription: http://www.houseoffusion.com/groups/fusebox/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.12