This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C053BD.012CA000
Content-Type: text/plain;
charset="iso-8859-1"
I set it in application.cfm to goto one error page. That error page
consists of a hidden form. The hidden form contains all of the error
variables and their values. That hidden form is submited by JavaScript on
load. The forms action page is error02.cfm. That second page sends an
email with the error values. If the user is logged in, it also sends them
an email, stating that we are aware of the issue. That second page displays
a notification also. Not sure if that is what you were looking for but
that's where cferror has been useful. Dont forget that cf tags and
functions are not available in the first error page with exception to the
error information provided by CF.
This is the line in application.cfm:
<cfif not IsDebugMode()>
<cferror template="/error01.cfm" type="REQUEST">
<cferror template="/error01.cfm" type="VALIDATION">
</cfif>
If you want the rest of the code as an example let me know.
-Rice
RiceIsNice.net
-----Original Message-----
From: Michael Thomas [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 21, 2000 7:38 AM
To: CF-Talk
Subject: cferror.....
Does anyone have anything notable to mention in regards to cferror & its
use??? perhaps a tip or trick of the trade when using cferror???
TIA,
Mike
____________________________________________________________________________
_________
Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
------_=_NextPart_001_01C053BD.012CA000
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2650.12">
<TITLE>RE: cferror.....</TITLE>
</HEAD>
<BODY>
<BR>
<P><FONT SIZE=3D2>I set it in application.cfm to goto one error =
page. That error page consists of a hidden form. The hidden =
form contains all of the error variables and their values. That =
hidden form is submited by JavaScript on load. The forms =
action page is error02.cfm. That second page sends an email with =
the error values. If the user is logged in, it also sends them an =
email, stating that we are aware of the issue. That second page =
displays a notification also. Not sure if that is what you were =
looking for but that's where cferror has been useful. Dont forget =
that cf tags and functions are not available in the first error page =
with exception to the error information provided by CF. =
</FONT></P>
<BR>
<P><FONT SIZE=3D2>This is the line in application.cfm:</FONT>
</P>
<P><FONT SIZE=3D2><cfif not IsDebugMode()></FONT>
<BR> <FONT =
SIZE=3D2><cferror template=3D"/error01.cfm" =
type=3D"REQUEST"></FONT>
<BR> <FONT =
SIZE=3D2><cferror template=3D"/error01.cfm" =
type=3D"VALIDATION"></FONT>
<BR><FONT SIZE=3D2></cfif></FONT>
</P>
<BR>
<P><FONT SIZE=3D2>If you want the rest of the code as an example let me =
know.</FONT>
</P>
<BR>
<P><FONT SIZE=3D2>-Rice</FONT>
</P>
<P><FONT SIZE=3D2>RiceIsNice.net</FONT>
</P>
<BR>
<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Michael Thomas [<A =
HREF=3D"mailto:[EMAIL PROTECTED]">mailto:[EMAIL PROTECTED]</A>]</FON=
T>
<BR><FONT SIZE=3D2>Sent: Tuesday, November 21, 2000 7:38 AM</FONT>
<BR><FONT SIZE=3D2>To: CF-Talk</FONT>
<BR><FONT SIZE=3D2>Subject: cferror.....</FONT>
</P>
<BR>
<P><FONT SIZE=3D2>Does anyone have anything notable to mention in =
regards to cferror & its </FONT>
<BR><FONT SIZE=3D2>use??? perhaps a tip or trick of the trade when =
using cferror???</FONT>
</P>
<P><FONT SIZE=3D2>TIA,</FONT>
<BR><FONT SIZE=3D2>Mike</FONT>
<BR><FONT =
SIZE=3D2>_______________________________________________________________=
______________________</FONT>
<BR><FONT SIZE=3D2>Get more from the Web. FREE MSN Explorer =
download : <A HREF=3D"http://explorer.msn.com" =
TARGET=3D"_blank">http://explorer.msn.com</A></FONT>
</P>
<P><FONT =
SIZE=3D2>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</FONT>
<BR><FONT SIZE=3D2>Structure your ColdFusion code with Fusebox. Get the =
official book at <A HREF=3D"http://www.fusionauthority.com/bkinfo.cfm" =
TARGET=3D"_blank">http://www.fusionauthority.com/bkinfo.cfm</A></FONT>
</P>
<P><FONT SIZE=3D2>Archives: <A =
HREF=3D"http://www.mail-archive.com/[email protected]/" =
TARGET=3D"_blank">http://www.mail-archive.com/[email protected]/=
</A></FONT>
<BR><FONT SIZE=3D2>Unsubscribe: <A =
HREF=3D"http://www.houseoffusion.com/index.cfm?sidebar=3Dlists" =
TARGET=3D"_blank">http://www.houseoffusion.com/index.cfm?sidebar=3Dlists=
</A></FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01C053BD.012CA000--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists