Sure. Set cachedwithin to a variable in application.cfm, say 0,0,5,0
Then set it to 0,0,0,0 when you want to re-set the cache.
best, paul
At 08:11 PM 12/30/00 +1100, you wrote:
>If you've used cachedwithin on a cfquery and set it for, say, 10 minutes, is
>there any way to reset that query before the ten minutes is up?
>
>for example,
>
> the threadlist in my forum has a very chunky query, so I use
> cached within.
>After the first load, it uses cached data which lasts for 5 minutes. At
>some point I add a new thread - obviously it won't appear in the threadlist
>until the 5 minutes is up and the query is cached anew, but is there a bit
>of code I could attach to the end of the "create new thread" function that
>would reset the query again?
>
>Toby
>
>
>
~~~~~~~~~~~~~ Paid Sponsorship ~~~~~~~~~~~~~
Get Your Own Dedicated Win2K Server! Instant Activation for $99/month w/Free
Setup from SoloServer PIII600 / 128 MB RAM / 20 GB HD / 24/7/365 Tech Support
Visit SoloServer, https://secure.irides.com/clientsetup.cfm.
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists