Yes, this seems to work great:

<CFQUERY DATASOURCE="#request.dsn#"
CACHEDWITHIN="#Createtimespan(5,4,3,2)#" NAME="Results">
EXEC getData #TRIM(arguments.crit)#
</CFQUERY> 


Thanks!

Sincerely,
 
Andrew


-----Original Message-----
From: Michael T. Tangorre [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 19, 2006 10:45 AM
To: CF-Talk
Subject: RE: cfstoredproc and cache

You can put the results into the session/application scope and manage it
yourself or call the stored procedure using cfquery tags and make use of
the cache attributes of the cfquery tag.

Mike 

> From: Peterson, Andrew S. [mailto:[EMAIL PROTECTED]
> Is there a way to cache the results of a stored procedure in or around

> the cfstoredproc tag?





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230115
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to