Cool DZone Script - Send JavaScript errors via CFMail

My friend James pointed me to a cool snippet on DZone:

Email a JavaScript Error using ColdFusion

This snippet uses an AJAX request along with a server side script to email an admin the contents of any JavaScript error.

Archived Comments

Comment 1 by Steve Bryant posted on 2/15/2007 at 11:19 PM

You can actually accomplish the same thing without AJAX.

http://coldfusion.sys-con.c...
(full disclosure: this is an article I wrote in Oct 2002)

Comment 2 by Sam posted on 2/16/2007 at 2:24 AM

That's a nice idea -- hadn't ever thought to do that.

Comment 3 by David Stockton posted on 2/19/2007 at 2:28 PM

Yeah, this is cool. I recently noticed gmail is doing something similar reporting errors back. Good idea.