I have a structure with key "username", I am trying to use the following
code to evaluate it :
if(StructKeyExists(request.sessiondata,"username"))
// do nothing
foo = "true";
else
StructInsert(request.sessiondata,"username","Neil
Robertson-Ravo","yes");
foo = "false";
This ALWAYS seems to return false, even though the code below returns TRUE
<cfif StructKeyExists(request.sessiondata,"username")>
TRUE
<cfelse>
FALSE
</cfif>
Anyone? its probably just a brainfart as usual but I can see why it doesnt
work as intended?
Neil
______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists