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]

Reply via email to