I'm guessing the form scope does not exist.

Mark A. Kruger, MCSE, CFG
(402) 408-3733 ext 105
Skype: markakruger
www.cfwebtools.com
www.coldfusionmuse.com
www.necfug.com



-----Original Message-----
From: Kris Sisk [mailto:ks...@gckschools.com] 
Sent: Thursday, June 03, 2010 8:32 AM
To: cf-talk
Subject: Wierd error from bots


I just switched over from an old Application.cfm to a new Application.cfc a
couple weeks ago. Ever since I did I keep getting an error that says "An
exception occured while invoking an event handler method from
Application.cfc. The method name is: onRequestStart". I only get this error
when bots hit this site (so far) but I can't for the life of me figure out
what's causing it. It's always on line 35, which is:

<cfif isSimpleValue(evaluate(formelement)) AND
refindNoCase(sqlregex,"#Evaluate(formelement)#")>

formelement is the index of a loop through URL elements and sqlregex is a
regex expression that matches SQL strings. Also it's only bots that get the
error. Real users never run into a problem.

This section of the code is part of an extra layer of protection against SQL
injections. It's copies almost verbatum from my old Application.cfm, so I
can't figure out for the life of me why all the sudden I'm getting these
errors. Can anyone help out? 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334257
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to