Thus wrote H (AT) 2dC0d (DOT) 32,
Quote:
The cache object you are using in ASP.NET is static.
Do you create an instance of it when you use Cache? No!
So it is public static (shared in VB.NET), and thread safe. |
That's a false conclusion. All relevant Cache methods like Add(), Get(),
Insert() or its indexer are instance methods. Cache is also neither a static
meber in Page, nor in HttpContext.
Personally, I think the Windows SDK docs are simply wrong. So yes, no fiddling
with locks required ;-)
Cheers,
--
Joerg Jooss
news-reply (AT) joergjooss (DOT) de