Thanks Dave.  Earlier I had gotten the application scope to work, but I
assumed that it was a work-around to my failure with cachedwithin, so I
just kept attempting to work with cachedwithin.  It is good to know that
not only is it not a work-around, but instead IS the way I need to
proceed.  I appreciate your help.

-----Original Message-----
From: Dave Watts [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 15, 2008 2:25 PM
To: CF-Talk
Subject: RE: Caching and Reusing a Query Generated with QueryNew
Function

> Is it possible to cache and reuse the results of a query 
> created in the code using QueryNew, QueryAddRow, etc.?

Yes, but not using CACHEDWITHIN/CACHEDAFTER. You can, of course, just
stick
it in the Session or Application scope.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!



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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309115
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