is there a way to specifiy which query to uncache?  this seems to work 
for
all queries, but it would be nice to make this work for only a 
specified
query.  any ideas?

Thanks

Timothy Stadinski
Senior Software Engineer
Afternic.com
[EMAIL PROTECTED] 



-----Original Message-----
From: Dave Watts [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 18, 2002 11:23 AM
To: CF-Talk
Subject: RE: Un cache all queries or some queries


> How could I remove some or all cached queries without 
> restarting the CF Server.

There are two ways you can do this. One is to use the CFOBJECTCACHE 
tag:

<cfobjectcache action="clear">

This will clear all cached queries from memory. Another is to specify a
timespan of zero in a specific query's CACHEDWITHIN attribute:

<cfquery ... cachedwithin="#CreateTimeSpan(0,0,0,0)#">
.
</cfquery>

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

______________________________________________________________________
Why Share?
  Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to