Hi,
Yes, you can store *almost* anything in a WDDX packet. In my experience,
anything EXCEPT for an array with missing values will work. What I mean is
that if you have an array called "myArray" and myArray[1] and myArray[3]
both have values, but myArray[2] is still undefined, CFWDDX will give you an
undeciphirable error message. Other than this obscure case, though, you can
store just about anything in a WDDX packet.
-Brent
-----Original Message-----
From: Aidan Whitehall [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 21, 2001 1:27 AM
To: CF-Talk
Subject: Storing complex data types
Can you use WDDX to store a complex data type (such as a session variable
which is a structure of structures) in a string format that you can dump
into a database field and then pull back out the next time that user logs
in?
If not, is there any other way of doing it? I want to avoid having to
normalise the data and produce a mini-schema for user settings.
Thanks
Aidan
--
Aidan Whitehall <[EMAIL PROTECTED]>
Macromedia ColdFusion Developer
Fairbanks Environmental +44 (0)1695 51775
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.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