Even if CF8 can serialize CFCs (I've read that it can), I don't think you can store complex variables in the Client scope. I'd assume that a serialized CFC would be considered a complex variable.
Vince Bonfanti New Atlanta Communications, LLC >> I read somewhere that in CF8 you can serialise CFCs. That's >> about the hottest topic in my list at the moment - i have to >> make architectural decisions in the next few hours, one of >> which depends on whether or not you can serialise CFCS and >> store them in the database as client vars or not. > >Yes, you can. I'd be very careful about doing this and storing them within a >database via the Client scope, though, since that could beat the crap out of >your servers if you're not careful. For example, I wouldn't want to do that >on every page request (which is generally when Client variables are >updated). > >> If so, how? > >Generally, my understanding is that this will happen automatically for you >if you're storing CFC instances in the Session scope, and you have session >replication configured across multiple servers. However, as Rakshith points >out, you can do it yourself as well: > >http://www.rakshith.net/blog/?p=4 > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294609 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4