Thank you, Dave.

This confirms my inclination to use Request-scope
for cached queries.

But I didn't realize an Application-scope cached
query would store two sets of data.

best,  paul

At 03:29 PM 10/2/00 -0400, you wrote:
> > The question I have is whether there's any advantage in
> > scoping a Query cached in a CFQUERY tag as Application.GetListings
> > contrasted with scoping it as Request.GetListings.
>
>I would argue that there isn't any advantage, and should be avoided. When
>you do this, you're storing the data in two places: the Application scoped
>variable, and the query caching memory. If I were to read the code later,
>I'd be confused about which set of data you really wanted to use.
>
>Dave Watts, CTO, Fig Leaf Software
>http://www.figleaf.com/
>voice: (202) 797-5496
>fax: (202) 797-5444

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to