Presume you mean: isdefined("session.crap)" (note: quotes)? I tried this code:
<cfapplication name="testIsDefined" sessionmanagement="true"> <cfset session.session.session.crap = 1> <cfoutput> structKeyExists(session, "crap"): #structKeyExists(session, "crap")#<br /> isDefined(session.crap): <cftry>#isDefined(session.crap)#<cfcatch>Didn't think that one would work too well [#cfcatch.message#] ;-)</cfcatch></cftry><br /> isDefined("session.crap"): #isDefined("session.crap")#<br /> </cfoutput> And it did this: structKeyExists(session, "crap"): NO isDefined(session.crap): Didn't think that one would work too well [Element CRAP is undefined in SESSION.] ;-) isDefined("session.crap"): NO Which is what I'd expect. CFMX: 7,0,2,142559 & 6,1,0,63958 -- Adam --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~----------~----~----~----~------~----~------~--~---