You have 4 types of CFERROR tags: request, validation, exception and monitor. The error pages called by request & validation don't execute the cfml, except the references to error scope variables (only the reference #error.myvar#, not a <cfoutput> around them). For exception & monitor, you can use normal cfm templates.
Pascal Peters Certified ColdFusion Advanced Developer Macromedia Certified Instructor LR Technologies Av. E. De Mot, 19 1000 BRUSSELS, BELGIUM Tel: +32 2 639 68 70 Fax: +32 2 639 68 99 Email: [EMAIL PROTECTED] Web: www.lrt.be -----Original Message----- From: Wallick, Mike [mailto:[EMAIL PROTECTED]] Sent: dinsdag 23 april 2002 21:21 To: CF-Talk Subject: RE: Custom Error Templates Then why does it work sometimes? I found that the CFML in my error template works fine, unless the error is a "Request Timed Out" error. Mike -----Original Message----- From: Matthew R. Small [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 23, 2002 2:24 PM To: CF-Talk Subject: RE: Custom Error Templates No, you can't. What happens if you have an error in the error page? - Matt -----Original Message----- From: Wallick, Mike [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 23, 2002 3:13 PM To: CF-Talk Subject: Custom Error Templates Hey all. I'm using <cferror> to define a custom request error template and I'm having some strange issues: Naturally, I want the error page to look like the rest of the site (I like consistency). So I made the error template with the same colors, style stuff, etc. as the rest of the site. Here's the problem: Intermittently, the error page ignores any CFML tags, variables, etc. that I placed in it. The only variables that evaluate consistently are the #error.# variables. When I view the source, I can see some CFML code. What gives? Can't I use CFML in an error template? Mike Wallick Web Application Developer [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 651.628.5377 http://www.securecomputing.com <http://www.securecomputing.com/> ______________________________________________________________________ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists