> I guess I don't see the time spent to write a CFQUERYPARAM
> tag as a significant addition of expense.

It's not, and at this point I do use them pretty much by default in addition
to input scrubbing.

> Also, if you pass an invalid data value to a CFQUERYPARAM
> tag, CF will prevent the query from running. So, you
> could easily do the same sort of thing just using
> CFQUERYPARAM and an exception handler, which will provide
> the extra benefit of better performance.

I prefer that ColdFusion not need to throw exceptions at all if I can help
it.  I'd rather my sites not look like myspace.com with a basic "there was
an error" screen.  If I can find the error in advance through scrubbing or
validation, I'd rather handle it my own way.  Just a personal preference I
suppose.


-Justin Scott



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:222760
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to