You need quotes in the IsDefined function...

<cfif not isDefined("client.pods")>

........

HTH

Ryan

-----Original Message-----
From: Tony Weeg [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 14 January 2004 2:11 PM
To: CF-Talk
Subject: isDefined question

<cfif not isDefined(client.pods)>
<cfset client.pods = structNew()>
</cfif>

is giving me this error.

Element PODS is undefined in CLIENT.

The error occurred in D:\www\clients\albert\admin\Application.cfm: line
71

69 : </cfscript>
70 :
71 : <cfif not isDefined(client.pods)>
72 : <cfset client.pods = structNew()>
73 : </cfif>

well...no duh, I know its not defined...thats why im asking, and that's
why im setting it.

wtf?

....tony

r e v o l u t i o n w e b d e s i g n
[EMAIL PROTECTED]
www.revolutionwebdesign.com

its only looks good to those who can see bad as well
-anonymous
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to