If you use a site-wide error handler, that does not mean you have to have 
one error handler for every site. You can customize the error handling as 
much as you please. In the error handling tutorial on my web site I 
demonstrate the use of a switch that differentiates on cgi.server_name IIRC. 
You can vary a lot more finely than that if you wanted to.

For app-wide error handlers I use cferror and type="Exception" and go from 
there. You could also wrap an entire template in try/catch, but that is a 
pain and inefficient (been there, done that).

If your server or network is down you pretty much need an external monitor 
to page you. I wrote SitePeeker (free tag) to do that for me and use a 
cheapo hosting acct at hostmysite to do all of that.

Cheers,

-- 
--mattRobertson--
Janitor, MSB Web Systems
mysecretbase.com <http://mysecretbase.com>

On 8/10/05, Ali Awan <[EMAIL PROTECTED]> wrote:
> 
> I know this is a topic that has been discussed before so I apologize. I
> went through the archives on here and got some ideas, but just wanted to
> validate/invalidate my assumptions before I started down a path.
> 
> 
> 
> Basically what I'm looking for is somewhere to just bounce my ideas off 
> of,
> and get some advice/best practices in setting up Error Handling for Apps.
> 
> 
> 
> I have multiple apps on my server, and I was going to use the Site-Wide
> error template in the ColdFusion Administrator. Am I correct in assuming
> that I will get the exact same error template for every app on my server?
> 
> 
> 
> If so, what is the best way to handle an App-Wide error template? Would
> that be the CFError tag? Also if I use the CFError tag, and I just want to
> handle every possible error imaginable do I just set the Type attribute to
> "Exception"?
> 
> 
> 
> What if my server or network is down? Is there a way to catch that?
> 
> 
> 
> I appreciate any and all input on this.
> 
> cheers,
> 
> Ali
> 
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:214507
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