> -----Original Message-----
> From: Sean Corfield [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 18, 2005 5:32 PM
> To: CF-Talk
> Subject: Re: Best, Fastest, Cleanest, Most Elegant way to determine if
> your in an application?
> 
> 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...

I'm sorry - but then wouldn't storing the extra information have to be done
each time?  If not then I want to know more.  ;^)

Right now I store custom information about properties and "shortcuts" to
ancestry trees and such in a custom meta data location.  I could fairly
easily tack this whole thing into the getMetaData() return.

My worry is that I was under the impression that getMetaData was actually a
pretty expensive call - is this not the case?

Jim Davis




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:199423
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

Reply via email to