You could add a key to the structure that contains a unique ID... <cfset aStructure.uuid = CreateUUID()> <CFWDDX ACTION="CFML2WDDX" INPUT=#AStructure# OUTPUT="AWddx">
_____________________________________________ Pete Freitag CTO, CFDEV.COM ColdFusion Developer Resources http://www.cfdev.com/ -----Original Message----- From: James Sleeman [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 01, 2002 8:52 PM To: CF-Talk Subject: Uniquely identifing a structure. Hi all, I need to get a simple string value that will uniquely identify a given structure, currently what I am using is this... <CFWDDX ACTION="CFML2WDDX" INPUT=#AStructure# OUTPUT="AWddx"> <CFSET aKey = Hash(AWddx)> which produces exactly what I want, but my problem is that this happens several times per request and thus it is potentially a bottle neck (even if wddx is fast, the structure in question could possibly be large). Does anybody have any better ideas on how to accomplish this ? --- James Sleeman --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.384 / Virus Database: 216 - Release Date: 24/08/2002 ______________________________________________________________________ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists