Question
Redirect in Non-Executed Code
I have a scheduled task that calls the page:
Reports/kpi/random_report_requests.cfm (just like that, copied the
extension from CF Administrator)
I start the code like this:
<cfif not isDefined("test")>
<cfset test = 1>
</cfif>
And during the scheduled task everything works fine until this block of code:
<cfif not test>
<cflocation url="../dgim/ap_performance.cfm">
</cfif>
The page is redirected to ap_performance.cfm and those processes are run. Does cflocation override procedural code? This is in CF4.5
Thanks!
I start the code like this:
<cfif not isDefined("test")>
<cfset test = 1>
</cfif>
And during the scheduled task everything works fine until this block of code:
<cfif not test>
<cflocation url="../dgim/ap_performance.cfm">
</cfif>
The page is redirected to ap_performance.cfm and those processes are run. Does cflocation override procedural code? This is in CF4.5
Thanks!
