And now to answer the real question. ;) My point about session replication was that that was one place where persisting the CFC to the DB and recreating it isn't very desirable, though in most cases, it is. However, since you can't do actual session replication of CFCs, you have no choice but to do things that way if you need session-level CFCs. Each request, you have to use some non-object session data to pull the appropriate CFC instance out of the DB for use during that session, and the save the CFC back to the database before the end of the request. Of course, that leaves you with the same issues that client vars have, so it's not a very good solution either.
cheers, barneyb On Wed, 23 Feb 2005 21:17:01 -0800, Barney Boisvert <[EMAIL PROTECTED]> wrote: > CF7, like CF6, only supports session replication for non-CFC data. > CFCs will not replicate. > > http://livedocs.macromedia.com/coldfusion/7/htmldocs/00001774.htm > > Check point 17. Session vars can replicate, but CFC's can't. It's > worded in a very poor way, but i'm guessing "session vars" is assumed > to only include non-object data. > > cheers, > barneyb > > On Wed, 23 Feb 2005 21:07:34 -0500, Brian Kotek <[EMAIL PROTECTED]> wrote: > > Barney I haven't tried it, but are you saying that CFMX7 does *not* > > allow for replication of session-scoped CFC instances? Or are you > > saying that it does? Thanks. > > > > -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 50 invites. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:196274 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

