> Pete Ruckelshaus wrote:
>> Why use CFDIRECTORY when you can use try/catch blocks?  Here's how I
>> approached the "is the include there" problem in one of my apps:

> That's another good solution... I've done something similar in the past
> but I think it generated a lot of errors in my error logs and I wasn't a
> fan of that :)

I thought the server was supposed to bypass the log entry for errors which
were caught and handled with <cfcatch>... Although ( and I missed the
beginning of the thread, so I don't have the full context ) it doesn't seem
like this is something you'd need to resort to try/catch for. If the include
doesn't exist, the try/catch block could create a lot of overhead and it
seems <cfif fileexists()> would likely be the best solution. Am I missing
something important from the previous thread?

S. Isaac Dealey
Certified Advanced ColdFusion 5 Developer

www.turnkey.to
954-776-0046
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Reply via email to