I have a component object stored in the session scope. I am attempting
to use CFWDDX to store this in a database for logging/other purposes.
<cfset session.myCart = CreateObject("component","apps.cart")>
<cfwddx action="CFML2WDDX" input="#session#" output="wddxSession">
This actually seems to work -- I can insert the string into the database.
However, when I want to reverse the WDDX call to look at the packet, I
lose everything in the "myCart" key.
<cfwddx action="WDDX2CFML" input="#dbquery.wddxString#" output="origStruct">
When I dump "origStruct" I get this:
[undefined struct element]
So my question... am I doing something wrong or can you not convert
component objects to/from WDDX like you can Query objects and the
like?
Tim
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236621
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54