And to reiterate, don't stick the entire query in there, it should be out in a 
CFC, or at the very least, in a separate template so if you make any changes, 
you aren't updating it in multiple files. You would just use a variable for the 
cachedwithin time sort of like this:

<cfparam name="Request.CacheTime" default="#CreateTimeSpan(0, 1, 0, 0)#">

<cfquery name="ReallyBigQuery" datasource="MyDS" 
cachedwithin="#Request.CacheTime#">

</cfquery> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304247
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to