Roel van der Hoeven wrote:
> Quick (maybe stupid) question... where would oyu guys put the
> returnfuseaction? The switch or the page called by the fuseaction?
Here's basically how I handle it:
INDEX.CFM
=========
<cfcase value="dothis">
<cfset fusebox.endfuse = "">
<cfset fusebox.xfa.failure = "login">
<cfinclude template="dsp_dothis.cfm">
<cfinclude template="url_endfuseaction">
<cfinclude template="tmp_dothis.cfm">
</cfcase>
DSP_DOTHIS.CFM
==============
<cfif userNotLoggedIn>
<cf_rfa
action="redirect"
redirecturl="#fusebox.app.rootpage#fa=gosignin"
returnurl="#fusebox.app.rootpage##cgi.query_string#">
</cfif>
URL_ENDFUSEACTION.CFM
=====================
<cfif IsDefined("fusebox.endfuse") AND Len(fusebox.endfuse)>
<cf_location
url="#fusebox.endfuse#"
addtoken="no">
</cfif>
<cfif IsDefined("request.session.rfa") AND Len(request.session.rfa)>
<cf_rfa
action = "return"
rootpage = "#fusebox.app.rootpage#">
</cfif>
==^================================================================
This email was sent to: [email protected]
EASY UNSUBSCRIBE click here: http://topica.com/u/?bUrFMa.bV0Kx9
Or send an email to: [EMAIL PROTECTED]
T O P I C A -- Register now to manage your mail!
http://www.topica.com/partner/tag02/register
==^================================================================