Evaluation first, then include. You can test this by writing an include that
has a definite error then running your code below. If the include goes
first, you'll get an error. If the evaluation goes before the include
(assuming the evaluation was false), then the include never gets called. An
important issue with pcode and caching. I'm going to have to look into this
a little more on the side.
> take the following code:
>
> <cfif thisFlag>
> <cfinclude template="thisFile.cfm">
> </cfif>
>
> Will ColdFusion evaluate the expression first before it includes the
> file -OR- will it include the file before it evaluates the expression?
>
> in other words, does CF say "ok, thisFlag is false, so i won't evaluate
> what's in the include file" or will it say "before i look at this, i need
to
> include everything first"?
>
> thanx for any response
> mike
>
> --------------------------------------------------------------------------
----
> Archives: http://www.mail-archive.com/[email protected]/
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
>
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.