An alternative method of storing complex datatypes is to store it as cfscript, e.g. save a file with the following, then cfinclude it:
<cfscript>
foo = StructNew();
foo.bar=1;
</cfscript>

There's a udf on cflib (http://www.cflib.org/udf.cfm?ID=713) that will turn a CF var into a cfscript block, but you'll need to do any file writing or whatever.

One advantage i've found over wddx is its much simpler and faster to get the data into memory - i've been using it on a couple of busy sites for over 18 months now.
Obviously there are plenty of reasons why you might rather use WDDX - horses for courses.

Cheers
Bert

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 31 October 2003 17:35
To: CF-Talk
Subject: Re: Re:Query Delete???

WDDX can store any complex or non-complex data type.


[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to