Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FuseBox 3.0 redirect files

Status
Not open for further replies.

jforbz

Programmer
Joined
Apr 17, 2002
Messages
1
Location
US
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=&quot;verifyLogin&quot;>
<cfinclude template=&quot;act_verifyLogin.cfm&quot;>
</cfcase>

Within act_verifyLogin.cfm:
<cfif the login verification fails>
<cfinclude template=&quot;url_badLogin.cfm&quot;>
</cfif>

url_badLogin contains only this piece of code:
<cflocation URL=&quot;index.cfm?fuseaction=badLogin&quot;>


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.
 
The application may be using search engine safe urls which are specially formatted urls for search engines that ignore everything after' ?' Did you write the application? You can parse these urls in cfapplication and redirect the user to the appropriate page.

You maybe able to find more info at the official fusebox list at topica.

HTH
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top