> 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

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!


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294602
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to