I've got a hypothetical situation that entered into me little brain this 
morning that I thought I'd ping the group on for answers.  

Let's say I've got an object cached in the application scope.  The call to 
this CFC is used throughout the site, which gets a lot of traffic.  
Everything inside the CFC is var scoped, and it's completely encapsulated.  
It's just runs a query, sets some variables, and returns the results.  What 
would happen if I were to "reset" the cache (by re-running cfset 
application.myCfc = new com.blah) while someone was using that cached call? 
 

There's enough traffic on the site that it's almost certian that there will 
be users on it when I reset the cache.  This cached cfc is used on every 
page, so it's almost certain that someone will be in the middle of doing 
something with it when it's reset.  What will happen for that user when 
this happens?  

Thanks,

Eric Cobb
http://www.cfgears.com



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346478
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to