Don't use StructCopy. Use Duplicate.

<cfset request.whatever = duplicate(yourStructure)>

=======================================================================
Raymond Camden, ColdFusion Jedi Master for Macromedia

Email    : [EMAIL PROTECTED]
Yahoo IM : morpheus

"My ally is the Force, and a powerful ally it is." - Yoda 

> -----Original Message-----
> From: Tangorre, Michael [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, July 10, 2002 1:50 PM
> To: CF-Talk
> Subject: StructCopy
> 
> 
> Can anyone clarify my thought here..
> 
> I have a structure called userinfo and in this structure 
> there are 15 keys such as name, id, etc...
> If I do a StructCopy of this structure and place it into the 
> request scope, is it essentially a one line piece of code?
> Will I be bale to now access the structure and its 
> keys/values in the request scope.. such as
> 
> request.userinfo.firstname
> 
> Thanks,
> 
> Michael Tangorre
> 
> MillenniuM Information Systems
> 1101 Wilson Blvd, Suite 1200
> Arlington, Virginia 22209
> (703) 341-1438
> 
> ================================
> This email contains MillenniuM Information 
> Systems, LLC. privileged information.
> ================================
> 
______________________________________________________________________
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

Reply via email to