It doesn't matter. CF caches queries based on the SQL string, not any
kind of variable. As long as you're thread safe without the
CACHEDWITHIN attribute, you'll be thread safe with it.
cheers,
barneyb
On Fri, 27 Aug 2004 00:01:33 -0400, Douglas Knudsen <[EMAIL PROTECTED]> wrote:
> Ok, I got a cfc named goo. Inside goo I perform a query. Now this cfc goo
> has an instance stored in the application scope. I want to employ query
> caching on that query via the cfquery tags cachedwithin attribute.
> Something tells me this no so good for thread safteyness, eh? Thoughts?
> Yes, I var scoped the query name. Is it the fact that CF uses the name,
> sql, and dsn to ID the query in memory make my question moot?
>
> Doug
--
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
- CF and JS question Greg Morphis
- Re: CF and JS question S . Isaac Dealey
- RE: CF and JS question Douglas Knudsen
- query caching and cfcs Douglas Knudsen
- Re: query caching and cfcs Barney Boisvert
- Re: query caching and cfcs Nando
- Re: CF and JS question Greg Morphis
- Re: CF and JS question Greg Morphis
- Re: CF and JS question Greg Morphis
- Re: CF and JS question S . Isaac Dealey
- Re: CF and JS question S . Isaac Dealey
- Re: CF and JS question S . Isaac Dealey
- Re: CF and JS question Greg Morphis
- Re: CF and JS question Adam Haskell
- Re: CF and JS question Greg Morphis