forcing cached queries to renew.
Posted on 2006-11-18
I have this cfif in my app.cfm file:
<cfif not isDefined("application.init") or isDefined("url.reinit")>
<cfset application.cfc1 = createObject("component","console.cfc.cfc1")>
<cfset application.init = "true">
So when I call the url: anypage.cfm?reinit=1 .. it re-inits all my cfc's.
I would like to add in this code a way to clear all cached queries, forcing them all to run on the next page execution, grabbing new data.