Or you could ask the cf-talk list....

....oh...

Yeah, it only includes one of them, unlike classic asp.

-nathan strutz
http://www.dopefly.com/



Dawson, Michael wrote:
> The easiest way to tell:  Add a <cfmail> tag to each file.
> Second easiest: Add a <cflog> tag to each file.
> 
> Then, run 'em! 
> 
> -----Original Message-----
> From: Jim McAtee [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, April 14, 2005 2:47 PM
> To: CF-Talk
> Subject: Conditional CFInclude
> 
> In the following does CF include only one page on the fly, or does it
> bring in both pages, but execute the code in only one?
> 
> <cfif somecondition>
>   <cfinclude template="somepage.cfm">
> <cfelse>
>   <cfinclude template="someother.cfm">
> </cfif>
> 
> 
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202844
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to