> My question is: Why is the custom tag executing? Shouldn't the page stop
> processing after the cflocation call? If I put a CFABORT directly after
the
> CFLOCATION call *within* the CFIF block, the custom tag still executes.
> However, if I place the CFABORT above the custom tag call, but *outside*
of
> the CFIF block, the page properly CFLOCATEs and the custom tag is not
> called.
Hmm, sounds to me like something fishy in that CFIF conditional...
try this (i know you'll think - well duh of course it's executing, but just
humor me :-))...
<cfif IsDefined("form.next")>
<CFABORT>
<!--- form processing code here --->
<cflocation url="mainpage.cfm" addToken="no">
</CFIF>
if the page doesn't abort then you know that conditional is not running
(which is what sounds like is happening), are there any nested conditonals
in there that could cause the location not to happen ?
______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists