All: Structure of Structures Question
I’m trying to look at an element and see if that element has a variable
defined. I’m getting an error:
Element MIDDLE_NAME is undefined in a Java object of type class
coldfusion.runtime.MemorySessionScope referenced as
What can I do to check for existence of this item Middle_Name?
My Setup: CFMX6.1, Win2k, Sun ONE
Regards,
James Blaha
<CFIF #STRUCTKEYEXISTS(APPLICATION.USERSLOGGEDIN,
Variables.USERIDATDOOR)# IS TRUE>
<!--- The user exists. --->
<CFIF
IsDefined(APPLICATION.USERSLOGGEDIN["#Variables.USERIDATDOOR#"].Middle_Name)>
Defined
<CFELSE>
Not Defined
</CFIF>
<CFELSE>
<!--- The user does not exist. --->
</CFIF>
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
- RE: Structure of Structures Question James Blaha
- RE: Structure of Structures Question Bryan F. Hogan
- Re: Structure of Structures Question James Blaha
- RE: Structure of Structures Question Raymond Camden