When you have used cachedwithin in CFQUERY, is it possible to override that before the 
cachedtime is up? For example,
 
<cfif not isdefined("application.recache")>
    <cfquery name="query" datasource="dsn" cachedwithin="#createtimespan(0,1,0,0)#">
    ...BLAH...
    </cfquery>
<cfelse>
    <cfquery name="query" datasource="dsn">
    ...BLAH...
    </cfquery>
    <cfset temp = structdelete(application, "recache")>
</cfif>
 
Here, it'd be great if I could 'reset' the query so that if I've defined somewhere 
else on the site that the query has changed using the application variable, I can get 
it to use the new query results and cache that for next time, instead.
 
Thanks!





---------------------------------
Yahoo! Plus - For a better Internet experience

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to