I ran into something unusual and I've never heard of it before. Through
some quick testing, it seems as if trying to determine a variables existence
within the CGI scope, whether using IsDefined() or StructKeyExists(), always
returns YES. Even if the variable doesn't exist in that scope.
So, for example, the following evaluate to YES even if they shouldn't:
IsDefined("CGI.foo")
StructKeyExists(CGI, "foo")
Doing a <CFDUMP VAR="#CGI#"> shows that the variable does not exist in the
scope.
As a work around, I'm using StructKeyList() to get a list of variables in
the CGI scope, but it's a kludge I'd rather not use.
Has anyone else ever run into this? Know of a way to resolve it?
TIA
--
Mosh Teitelbaum
evoch, LLC
Tel: (301) 942-5378
Fax: (301) 933-3651
Email: [EMAIL PROTECTED]
WWW: http://www.evoch.com/
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

