Yes, this is normal.  Application servers cannot know what CGI variables
are passed to it.  In fact, if you loop over all CGI variables using
ASP, you get many of the same CGI variables, but you get quite a few
more.

The best you can do is check for specific values or for empty strings.
You probably should not check for the existence of CGI variables for the
reason you noticed.

M!ke 

-----Original Message-----
From: Claude Schneegans [mailto:[EMAIL PROTECTED] 
Sent: Sunday, November 13, 2005 9:25 PM
To: CF-Talk
Subject: Is this a bug,... or an undocumented feature?

It looks like ANY variable in the cgi scope is always defined, ie: <CFIF
isdefined ("CGI.anythingYouPutHere")> is always true, and
#CGI.anythingYouPutHere# always return an empty string.

<CFIF isdefined ("CGI.whateverYouPutHere")>
    <CFOUTPUT>CGI.whateverYouPutHere =
[#CGI.whateverYouPutHere#]</CFOUTPUT>
<CFELSE>CGI.whateverYouPutHere not defined </CFIF>

Always displays
CGI.whateverYouPutHere = []

Is this normal doc?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224052
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to