Oh dang. It's being set in the application scope. I guess that makes
sense to me. Thanks for your help.

Sincerely,

Andrew


-----Original Message-----
From: Mike Townend [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 27, 2003 7:12 AM
To: CF-Talk
Subject: RE: Do CFCs cache?

How are you calling the CFC?

If you instantiate it as a cfc (not stored in the session or application
scope) then the changes should be shown.

If you set it in the Session or Application scope then they will need to
be
re-set.

If you are calling the CFC as a webservice then you will need to refresh
the
webservice via the CF Administrator


HTH

Mikey



-----Original Message-----
From: Andrew S. Peterson [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 27, 2003 13:51
To: CF-Talk
Subject: Do CFCs cache?


If I go into a cfc and modify a function, save it, reload the page that
calls it, the page that does the calling still pulls up the old version
of
the function that existed before I made the changes. For instance, if I
call
a function called getEntries but modify the code within getEntries, the
calling page does not recognize any of the changes. Further, I renamed a
function getEntries to getEntriesX and refreshed the page again that
calls
getEntries, and I did NOT get the error that getEntries was not found,
until
I restart the server, then I get the error message that getEntries was
not
found (since I renamed it). In effect, the page does not recognize any
changes to my cfc until I reboot the server or service. It makes for
some
awkward debugging to say the least, since none of my changes ever take
effect. 
 
I've tried this on multiple servers with the same issue. Is it a compile
thing? Am I the only one who doesn't know about this? :-)
 
Sincerely,
 
Andrew
 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Host with the leader in ColdFusion hosting. 
Voted #1 ColdFusion host by CF Developers. 
Offering shared and dedicated hosting options. 
www.cfxhosting.com/default.cfm?redirect=10481

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to