Howdy,
I'm having problems with the cf_returnfuseaction tag. The trouble is when
executing the "return" case.
Here's the sequence of events:
1. person selects an option link on the home page
2. the page selected requires them to be logged in, so app.secure.cfm is
invoked and calls cf_fuseaction with the "set" action; attributes.returnurl
is set properly to the page selected by the link in #1 above
3. after returning from the cf_fuseaction "set" operation, app_secure.cfm
sends them to the login page, as expected, since they're not logged in yet
4. person enters their login info in dsp_loginform.cfm
(fuseaction=loginform) and control gets passed to the login fuseaction/page
(app_login.cfm); once the login info is checked the login fuseaction then
calls cf_fuseaction again with action of "return"
The problem is that the "return" action in cf_fuseaction bombs and sends
them to the defaulturl. It appears that session.fuseaction (I'm using
session vice client vars) never has a value (zero length). In other words,
when the cf_fuseaction is called the first time with "set", nothing gets set
to session.returnfuseaction and since the "return" case in cf_fuseaction
evaluates its length, which is zero, it passes control back to the
attributes.defaulturl variable instead of the attributes.returnurl variable.
Anyone have an idea what might be going on? My fuseaction.cfm is the same as
on the fusebox site/book except I changed client.fuseaction to
session.fuseaction.
TIA,
Chris Montgomery [EMAIL PROTECTED]
Web Development & Consulting http://www.astutia.com
Allaire Consulting Partner
210-490-3249/888-745-7603 Fax 210-490-4692
AIM: astutiaweb; ICQ: 7381282; Firetalk: Ag78
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists