I'm trying to save some overhead by caching a CFC in the server scope instead
of calling it on every page. This CFC has several methods that I use
throughout the page display. I'm running into what I think is a race issue,
but looking for advice.

When I run it on my test server everything works great. As soon as I move it
to production, it breaks intermittently. I get query errors and errors
indicating that variables are not found. The errors are on various lines, and
not always in the same place.

Since the CFC does not have any get/set methods, it should not have a problem
with state. To me, it appears as if when the methods are being called by
multiple users, the values are somehow crossing and interfering.

Why? Shouldn't all the queries be unique to the request? Would I be better
off just putting all these methods in an include file?

I also tried the application scope and got the same results. No problem with
the request or session scopes, but that makes sense since it is unique to the
user - but that means the caching is only per user. I'd like it to be server
or application-wide.

I'm on MX6.1 (w/updater) and Windows 2000.