> Did you try my suggestion to re-run the constructor? Yes. That did not clear the cached data. I tried to init the entire structure but I don't really know the actual name of the img object CF is creating. I'm naming it "img", but CF is probably appending some longer name that has img as part of it.
Wherever these are being cached they not in any of the CF variables I can find... although strangely enough they are clearing at the purge interval set in the CF administrator. Robert B. Harrison Director of Interactive services Austin & Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 T : 631.231.6600 Ext. 119 F : 631.434.7022 www.austin-williams.com Great advertising can't be either/or... It must be &. -----Original Message----- From: Brian Kotek [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 05, 2007 2:10 PM To: CF-Talk Subject: Re: Clear Object Variables Did you try my suggestion to re-run the constructor? On 9/5/07, Robert Harrison <[EMAIL PROTECTED]> wrote: > > The code below is caching the results for each file. They stay persistent > until server reboot. I need to clear them on demand and have tried > everything to find them. I've dumped all the client, session, application, > and server variables. Cannot find them there. > > > Where are these being cached? If I can find them I should be able to clear > them. > > > > <cfobject type="JAVA" action="Create" name="tk" > class="java.awt.Toolkit"></cfobject> > <cfobject type="JAVA" action="Create" name="img" > class="java.awt.Image"></cfobject> > <cfscript> > img = > tk.getDefaultToolkit > ().getImage("#rootpath#\assets\banners\#gif_files.name#" > ); > width = img.getWidth(); > height = img.getHeight(); > img.flush(); > </cfscript> > > > Thanks > > Robert > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287845 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

