So what you'r saying is not to worry about the cferror tag and just wrap the
page in a cftry? Then put a cfmail in that?
Art
> You could try something like this:
>
> <cftry>
>
>
> CONTENT OF THE PAGE GOES HERE
>
>
>
> <cfcatch type="Any">
>
>
> <table border="1" cellpadding="4" align="center">
> <tr><td colspan="2"><b>ERROR:</b> An error was encountered on this page.
In
> many cases, these types of errors are temporary glitches, but if this
> problem persists, please click the button below to generate an error
report
> for the Web site administrator.</a></td></tr>
> <tr><td align=center><p>
>
> <cfoutput><form action="../tags/cfcatchreport.cfm" method="post">
> <input type=hidden name="errormessage"
> value="#HTMLEditFormat(cfcatch.message)#">
> <input type=hidden name="errordetail" value="#cfcatch.detail#">
> <input type=hidden name="errorpage" value="#cgi.PATH_INFO#">
> <input type=hidden name="referer" value="#cgi.HTTP_REFERER#">
> <input type=hidden name="remoteIP" value="#cgi.REMOTE_ADDR#">
> <input type="submit" value="Submit Error Report">
> </form>
> </cfoutput></td></tr>
> </table>
>
> </cfcatch>
>
> </cftry>
>
>
> I use this from time to time. With this, the user just needs to click a
> submit report of an error and I get all of the info. (the
cfcatchreport.cfm
> file, of course, contains a <cfmail> tag.
>
> The other option is to replace my table and <form> tags with <cfmail> tag
so
> that every time the <cfcatch> is tripped, an e-mail gets generated to you.
>
> H.
>
>
> Howard Owens
> Internet Operations Coordinator
> www.insidevc.com
> [EMAIL PROTECTED]
> AIM: GoCatGo1956
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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