> -----Original Message----- > From: Sean Corfield [mailto:[EMAIL PROTECTED] > Sent: Friday, March 18, 2005 6:26 PM > To: CF-Talk > Subject: Re: Best, Fastest, Cleanest, Most Elegant way to determine if > your in an application? > > On Fri, 18 Mar 2005 17:41:01 -0500, Jim Davis > <[EMAIL PROTECTED]> wrote: > > 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. ;^) > > No, once you update the metadata, the server remembers it (it's > effectively server scope storage but attached to each particular CFC).
When does it get refreshed? Is it only on a file change (which seems to indicate that a file system access is done) or on recompile (and if the latter does it refresh even if there are instances of the "old" CFC in memory or would there then be two versions of the information? My worry is: if I store information in the getMetaData struct can I be assured that it will exist every time I call it? Right now I only check/create the metadata on object instantiation. Basically since this is a "hidden" struct I worry it might also be a flakey struct. ;^) I'm also still interested in the original question: what's a fool-proof way to determine from within a request to determine if the request is in an application? Anybody have any ideas on that? Jim Davis ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199464 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

