My Account   Contact Us    
  
» HomeProductsSupportDeveloper CommunityCompany
Use of ParameterExists
The ParameterExists function has been deprecated since CF4, use IsDefined("var") instead

Type: deprecated
Severity: (3)

Incorrect example
<cfif ParameterExists(url.id)>
 do something
</cfif>

Resolution

<cfif IsDefined("url.id")>
 do something
</cfif>
Explanation

Deprecated functions may not be supported in future versions of ColdFusion, you should remove them so you can upgrade without worry. The IsDefined function is also faster than ParameterExists.



Sign up for our newsletter: | Subscribe with RSS: RSS
© ActivSoftware 1999 to 2005 | Privacy Statement