In fuseBox 2, you could create a redirect file that contained only a <cflocation> tag. You could call it after a query, to redirect the user to a confirmation page, etc. An example of this kind of file would look like this:
from index.cfm for the circuit:
<cfcase value="verifyLogin">
<cfinclude template="act_verifyLogin.cfm">
</cfcase>
Within act_verifyLogin.cfm:
<cfif the login verification fails>
<cfinclude template="url_badLogin.cfm">
</cfif>
url_badLogin contains only this piece of code:
<cflocation URL="index.cfm?fuseaction=badLogin">
When I try to do the same thing in Fusebox 3, the existing and new fuseactions get stacked on top of each other. I end up with something like this in the URL, and the default files for the home circuit are displayed:
Does anyone know what's going on here, and know how to achieve the result I'm after? I appreciate any help. Thanks.
from index.cfm for the circuit:
<cfcase value="verifyLogin">
<cfinclude template="act_verifyLogin.cfm">
</cfcase>
Within act_verifyLogin.cfm:
<cfif the login verification fails>
<cfinclude template="url_badLogin.cfm">
</cfif>
url_badLogin contains only this piece of code:
<cflocation URL="index.cfm?fuseaction=badLogin">
When I try to do the same thing in Fusebox 3, the existing and new fuseactions get stacked on top of each other. I end up with something like this in the URL, and the default files for the home circuit are displayed:
Does anyone know what's going on here, and know how to achieve the result I'm after? I appreciate any help. Thanks.