> Thanks for your replies. Do you have any tips to create this > serialize function? My CFC has some instantiation variables > set (this.numberitems, this.cartType, etc) and those are > really the only variables I want to serialize. I tried using > CFWDDX with an input of "#variables#" and again with an input > of "#this#" but all that was sent back were the functions of > the CFC. I am just trying to prevent having to hardcode this > variables in my serialize function when I am creating a > structure of the data.
Well, you probably shouldn't put variables into the "this" scope, since that's public. Generally, I create a structure of my own, and put member variables into that. In that case, you'd just serialize and deserialize that structure as needed. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236634 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=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

