But surely the instance of the CFC, the CreateObject, will always be the same? I can understand the instance data being session specific, invoked from the same component but the CFC facade which creates said data is going to be identical?
I would be interested to see (out of learned curiousity) where a Session based CFC invocation makes sense. I have, out of experience never put them in session due to performance issues seen first hand. .. "This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions." Visit our website at http://www.reedexpo.com -----Original Message----- From: Dave Watts To: CF-Talk Sent: Fri Apr 06 22:29:20 2007 Subject: RE: Using CFCs in session scope - need cflock help > They can be very memory intensive so giving each "user" their > own session CFC which is identical to ever other users > doesn't make any sense as it would be needless consumption of > memory space. If the instances (including instance data) were truly identical, you would be right. If they're not, there's nothing inherently wrong with storing them in the Session scope. > You also cannot use replication with them in session scope > (this may have been fixed in CF7/JRun updater, I know it was > true before) Sadly, this is still true in CF 7. 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! This email has been processed by SmoothZap - www.smoothwall.net ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-OT/message.cfm/messageid:271 Subscription: http://www.houseoffusion.com/groups/CF-OT/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.29
