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]

Reply via email to