Now that's deviously tricky. Presumably that works because CF only generates a metadata struct for each CFC file once per modification of that file, and caches it until the file changes again? What happens if you dynamically change something in the CFC without changing the file (like adding a 'this' variable)?
cheers, barneyb On Fri, 18 Mar 2005 14:31:52 -0800, Sean Corfield <[EMAIL PROTECTED]> wrote: > On Fri, 18 Mar 2005 14:25:47 -0500, Jim Davis > <[EMAIL PROTECTED]> wrote: > > The data stored is specific to a CFC class. So while I might have over a > > hundred instances of "cfc_Depressedpress.Framework.DP_Session" I only have > > one metadata cache for all of them. > > Use getMetadata(this) and then store additional keys in the returned > struct - it will work per-CFC class regardless of whether you are in > an application or not... > -- > Sean A Corfield -- http://www.corfield.org/ > Team Fusebox -- http://www.fusebox.org/ > Got Gmail? -- I have 50, yes 50, invites to give away! -- 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:199420 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=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

