1 is certainly true.....1 is difficult to really say....SQL Profiler on a sample query gives exactly the same retrieval speed for a query with or without a CFQUERYPARAM
-----Original Message----- From: Ellwood [mailto:[EMAIL PROTECTED] Sent: 06 August 2004 06:44 To: [EMAIL PROTECTED] Subject: RE: [ cf-dev ] Exceptions Also, It is certainly best practice to use CFQUERYPARAM fro 2 reasons. 1] It stops URL hacking 2] It makes the query run faster because the datatype is explicitly set. Regards Ellis C Wood BSc Ellwood Web Solutions T: 01623 459973 E: [EMAIL PROTECTED] W: http://www.ellwoodwebsolutions.co.uk -----Original Message----- From: Paul Swingewood [mailto:[EMAIL PROTECTED] Sent: 05 August 2004 22:28 To: [EMAIL PROTECTED] Subject: [ cf-dev ] Exceptions I have begun 'snagging' my shoe site and the functionality seems to work ok. Now I need to make sure it works when it breaks - enter <cfthrow> <cfcatch>. Are there any guidelines tips tricks in using these tags? I have played with them before but never really used them in anger. If the site breaks does this present a security hazard to the hosting company? Do hosting companies run a 'global' error trap for when things go wrong? Should every page have a catch/throw or can I set this up site wide? Is it good practice to ensure all varaibles are set default with CFPARAM or better to check NOT isdefined()? So many questions - where to start ...?? Regards - Paul -- These lists are syncronised with the CFDeveloper forum at http://forum.cfdeveloper.co.uk/ Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ CFDeveloper Sponsors and contributors:- *Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by activepdf.com* *Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com* *Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com* To unsubscribe, e-mail: [EMAIL PROTECTED] -- These lists are syncronised with the CFDeveloper forum at http://forum.cfdeveloper.co.uk/ Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ CFDeveloper Sponsors and contributors:- *Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by activepdf.com* *Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com* *Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com* To unsubscribe, e-mail: [EMAIL PROTECTED] This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant, Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -- These lists are syncronised with the CFDeveloper forum at http://forum.cfdeveloper.co.uk/ Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ CFDeveloper Sponsors and contributors:- *Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by activepdf.com* *Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com* *Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com* To unsubscribe, e-mail: [EMAIL PROTECTED]