I have a few sites that do this...

In your application.cfm file put something like

<cfapplication name="Builda"
               clientmanagement="Yes"
               sessionmanagement="Yes"
               setclientcookies="Yes">
<!---

<cferror type="REQUEST" template="ALLERRORS.cfm">
<cferror type="EXCEPTION" template="ALLERRORS.cfm">
<cferror type="MONITOR" template="ALLERRORS.cfm">
<cferror type="VALIDATION" template="ALLERRORS.cfm">

--->

Then when an error occurs the ALLERRORS.cfm page runs.  Put whatever you
like in this

Mark Stephenson
New Media Director
Evolution Internet
T: 0870 757 1631
F: 0870 757 1632
W: www.evolutioninternet.co.uk
E: [EMAIL PROTECTED]


This email, together with any attachments, is for the exclusive and
confidential use of the addressee(s).  Any other distribution, use or
reproduction without the sender's prior consent is unauthorised and strictly
prohibited.  If you have received this message in error, please
notify the sender by email immediately and delete the message from your
computer without making any copies.




-----Original Message-----
From: Chad [mailto:[EMAIL PROTECTED]]
Sent: 18 September 2002 14:44
To: CF-Talk
Subject: CFmail inside of CF error page


I am wondering if there is a way to put a CFMail inside of the error
page that CF generates?

That way we can be notified if an error occurs on the web site, and
email the exact error.

Is the error page a CF template?  Is it encrypted?

We tried wrapping all of the pages with cftry/cfcatch in
application.cfm, and onendrequest.com, but CF does not like the tag
broken up like that.


______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
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

Reply via email to