> How would one go about sending a 500 server error header at 
> the top of a custom error page? I assume it is more than just 
> putting 500 server error in the title tag.

Actually, if you have CFMX configured to use HTTP status codes, any uncaught
errors will return an HTTP 500 status code by default. You can customize
your error message using CFTHROW if you like. Keep in mind, however, that if
you do this, the browser may suppress the actual error message - in IE 6,
there's a setting called "Show friendly HTTP error messages" or something
like that.

So, rather than return an HTTP status code indicating the error, most people
just generate a regular HTTP 200 status code with accompanying HTML to
indicate that things didn't work out as desired.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized 
instruction at our training centers in Washington DC, Atlanta, 
Chicago, Baltimore, Northern Virginia, or on-site at your location. 
Visit http://training.figleaf.com/ for more information!


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

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

Reply via email to