I was confused by the following: "To get around this problem with simple variable types (i.e. string, struct, numeric), you can use duplicate() to create a separate copy of an existing variable: <cfset variables.foo = duplicate(session.foo) />"
Me: Simple variables are copied like you would expect (the same behavior is in every other language I've ever learned). _Structures_ are not copied unless you explicitly tell it to duplicate the structure. If I had to do <cfset variables.foo = duplicate(session.foo) /> For simple variable types, my foundational knowledge of cf is crumbling. You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfm CFCDev is supported by: Katapult Media, Inc. We are cool code geeks looking for fun projects to rock! www.katapultmedia.com An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
