The application scope actually would work good in this instance because
the query I want to save and reuse is being built/parsed from a large
XML file that is updated daily.  So, since the parsing is really slow, I
want to be able to cache the results file and use dynamic QofQs to pull
subsets of the data from cache rather than the original XML file.  The
application I am building is a staff directory.


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

Is that query specific to an individual or the entire application?
If multiple users of your site hitting this page at the same time would
have different queries needing to cached, you will probably not want to
keep it in the application scope.  The session scope would be more
appropriate in that scenario since it is specific to each user.

~Brad


-----Original Message-----
From: Niski, Brian [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 15, 2008 4:30 PM
To: CF-Talk
Subject: RE: Caching and Reusing a Query Generated with QueryNew
Function

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.




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:309118
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to