Personally I like to <cfparam> things that I know are supposed to
exist, and I will go both ways on page variables that may or may not
exist.

I prefer to param it and then test for a valid value than to test for
isDefined()

Ie...

<cfparam name="someid" default="">
<cfif someid eq "">  (or <cfif len(someid) eq 0>  )
   Holy Crap!<cfabort>
</cfif>

Rick

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:336743
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to