Actually, a cferror template is probably the only place I'd find isdefined() in any of my code anymore... for the exact same reason Dave described below.
..:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -----Original Message----- From: Dave Carabetta [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 15, 2006 12:49 PM To: CF-Talk Subject: Re: Try/Catch vs. direct error handling The only time I can think of where I use isDefined() is in something like an error e-mail where I want to check if there was a form scope in the request that failed so that I can dump it or skip it. isDefined() will go through every possible scope it can, including the CGI scope to find the variable being checked. That puts a (comparatively) noticeable overhead on the request as opposed to targeting a specific scope or scopes. I might be forgetting another one-off example, but you'll find most of the time that isDefined() just isn't needed. >. >.. >... Regards, Dave. -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.375 / Virus Database: 267.15.9/261 - Release Date: 2/15/2006 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232356 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

