It's a pretty simple matter to clear all the queries accessed in a
request, say by setting a "clearcache" url var, and writing the code
to set the cache span to a nil duration when url.clearcache exists.

Q1. However, what if I'd like to clear *all* cached queries in the
entire application in one fell swoop? (Without a server restart ;-)

Q2. Also, say I've got a dynamic query...

<cfquery ...>select * from t where c = #v#</cfquery>

... and I clear the query when v = 1, does this all-at-once clear the
other cached versions (which were cached when v equaled 2 and v
equaled 3)?

Thanks,
Jamie
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to