<CFOBJECTCACHE ACTION="CLEAR">
will clear all the cached queries on the server.
Undocumented and unsupported!!!!
P.
-----Original Message-----
From: Ryan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 07, 2001 4:20 PM
To: CF-Talk
Subject: Can you clear cached queries?
After looking through the archives and my CF 4.5 book, the only way I see
to clear a cached query is to set the cachedwithin timespan to 0 (or maybe
1 second). Am I right? There is no clear_cached_queries function in 4.5?
(why the heck not?....).
So what do you guys do? I am thinking of having another page in an
administration area that has all the cached queries in it, except the
cachedwithin timespan is set to zero on these. Ad administrator would
execute this page, clearing all the cached queries (As long as they all
made their way in to this list).
How does this sound?
Does anyone know of any cached query guidelines they can point me to? I
tried the allaire site, didn't see anything.
Thanks,
Ryan
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists