Sean,
If it is in a shared scope, if I delete the cached instance, then it
should get recreated with the new metadata, right?
Walt
-----Original Message-----
From: Sean A Corfield [mailto:[EMAIL PROTECTED]
Sent: Sunday, March 21, 2004 5:43 PM
To: [EMAIL PROTECTED]
Subject: Re: [CFCDev] Strange getMetaData() behavior
On Mar 21, 2004, at 2:03 PM, Sparrow-Hood, Walter wrote:
> I'm rolling my own CFC documentation and have the following 2 lines of
> code
> to retrieve the metadata:
>
> <cfobject name="obj" component="#url.cname#">
> <cfset CFCMetadata = getmetadata(obj)>
>
> I then go on to display the documentation for the CFC.
>
> If I edit and change the CFC (say modify the text for 'hint') and then
> reload the page, it doesn't pick up the change. Then only way I've
> been
> able to display the update is to stop and restart ColdFusion. Is the
> metadata being cached in some scope? Has anyone else seen this
> behavior?
Yes, it is cached but not in a ColdFusion scope. However, I've always
seen the metadata change if the CFC changed - as long as you don't also
have a cached instance of the CFC in a shared scope...
Regards,
Sean
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev'
in the message of the email.
CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).
An archive of the CFCDev list is available at
www.mail-archive.com/[EMAIL PROTECTED]
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev'
in the message of the email.
CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).
An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]