More Linux Humor....

This had me rolling on the floor laughing....


http://www.ircuser.org/files/switchlinux.swf

CFQUERY in Site Wide Error Handler Does Not Escape Single Quotes for Error.DateTime

At last week's Boston CFUG presentation by Ben Forta, one audience member described a problem that has prevented them from migrating to ColdFusion MX from ColdFusion 5. The problem was that their custom error handler template wasn't working when configured as the Site Wide Error Handler template in the ColdFusion Administrator.


That ColdFusion user has since emailed me the error template and a description. The template attempted to present some error information to the user and then log all the error data by inserting it into a database with CFQUERY. The problem was that the error handler template rendered some of the error handling info to the client, but then instead of inserting the data the original error that first invoked the error handler was returned to the client. The client then saw a partial page with "Ooops, there's been an error" followed by the original error as if it were never handled.

[More]