Yes - structAppend will do this for you. ======================================================================= Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc Member of Team Macromedia
Email : [EMAIL PROTECTED] Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda > -----Original Message----- > From: Mark Leder [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 20, 2003 10:40 AM > To: CF-Talk > Subject: RE: Convert WDDX2CFM to Structure > > > Maybe I should clarify. > > The WDDX packet is being passed from one server to a second. > At the second server, I already have a > "SESSION.someFunction.var1" structure. I already have <cfset > SESSION.someFunction.var1 = "WDDX Value"> in place. I want to > be able to take the WDDX packet and place the structure pairs > into the SESSION.someFunction variables. In other words, the > "var1" would equal the "key" of the WDDX packet. Does this > hopefully make sense? > > Would I still use the StructAppend function as has been posted? > > Thanks, Mark > > -----Original Message----- > From: Robertson-Ravo, Neil (RX) > [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 20, 2003 10:51 AM > To: CF-Talk > Subject: RE: Convert WDDX2CFM to Structure > > > why? Session is a structure. > > -----Original Message----- > From: Pascal Peters [mailto:[EMAIL PROTECTED]] > Sent: 20 February 2003 15:13 > To: CF-Talk > Subject: RE: Convert WDDX2CFM to Structure > > > I think you mean: > > <cfset StructAppend(yourstruct,session)> > > -----Original Message----- > From: Mark Leder [mailto:[EMAIL PROTECTED]] > Sent: donderdag 20 februari 2003 16:06 > To: CF-Talk > Subject: Convert WDDX2CFM to Structure > > > I have the following key /value pairs deserialized from a > wddx packet (and output using a loop): > > Key Value > A 1234 > B foo > > How do I take these individual pairs and place each pair into > <cfset SESSION...> statements? > > Thanks, Mark > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

