> <!--- isDefined(cgi_param) is always true for most,
if not all, cgi
> parameters, and so may be omitted --->
It's true for all of them. Even
isDefined("CGI.not_a_cgi_variable") will
return true (or, knowing CF, probably "yes", but it amounts
to the same).
This is stupid, but it's the way CF works.
I would recommend using structKeyExists() over isDefined().
One can write
sloppy code with isDefined() - as per this case: not scoping
the variable.
isDefined() also has a history (not sure about CF8, but
definitely CFMX7)
of returning false positives with session-scoped variables.
--
Adam