<cfsetting enablecfoutputonly="Yes">
<cfset xyz = structnew()>
<cfset xyz.name = "Jared Clinton">
<cfset xyz.loopuntil = "5">
<!---when you need to store the structure in a client variable, serialise it.--->
<cfwddx action="CFML2WDDX" input=#xyz# output="client.abc">
<!---when you need to use the structure, deserialise it--->
<cfwddx action="WDDX2CFML" input=#client.abc# output="deserialisedstructure">
<cfloop from="1" to="#deserialisedstructure.loopuntil#" index="currentitem">
<cfoutput>#deserialisedstructure.name# (#currentitem#)<br></cfoutput>
</cfloop>
<cfsetting enablecfoutputonly="No">
There aren't any problems like this with session variables. Its to do with the storage
format. Client vars aren't in memory.
Jared.
Stas Newdel wrote:
> I remember that you can't store a structure in either a session or a client
> var, could anybody please refresh my memory?
>
> Thank you
>
> ------------------------------------------------------------------------------
> Archives: http://www.mail-archive.com/[email protected]/
> To Unsubscribe visit
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
>message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.