Use StructKeyExists instead of IsDefined.  (e.g.
StructKeyExists(Session,"givenname") )

Even in vanilla CFMX this is a better approach than using IsDefined.


On Tue, 03 Aug 2004 09:42:35 +1000, Brian Gilbert
<[EMAIL PROTECTED]> wrote:
> Does anyone know of a list where I can ask questions about BlueDragon,
> or do we have enough people here using it to field questions?
> 
> <cfif not isdefined("session.givenname") or not
> isdefined("session.access")>
> give following error
> Invalid expression. The NOT operator cannot be applied to a value of
> this type.
> 
> Thanks,
> Brian
> _______________________________________________
> Wesley College makes no warranties of any kind,
> whether express or implied, in relation to the
> electronic communication system.  The College
> will not be responsible for any damage,
> including loss of data resulting from delays,
> non-delivery, etc. suffered by any user using
> the electronic communication system.
> 
> ---
> You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to [EMAIL PROTECTED]
> Aussie Macromedia Developers: http://lists.daemon.com.au/
>

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to