> 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>

Just the one it needs... this was one of my biggest complaints with
ASP some years ago when I was working with it... because at the time
they depended on SSI's which executed prior to the ASP code, and as a
result there was no way to disclude a template from inclusion, even if
conditional logic made it unnecessary.

s. isaac dealey   954.522.6080
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://macromedia.breezecentral.com/p49777853/
http://www.sys-con.com/author/?id=4806
http://www.fusiontap.com



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:202852
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to