Cache object.

M

Mufasa

When you create a cache object in a web site, where is actually stored? In
memory?

Does that mean if you have cluster and it switches node you lose your cache?

TIA - Jeff.
 
N

Norm

When you create a cache object in a web site, where is actually stored? In
memory?

Does that mean if you have cluster and it switches node you lose your cache?

TIA - Jeff.

Cache, Application, and Session objects are all stored in memory.
(Well, session is only by default, you can move that to a database or
implement your own system). In a cluster situation, there are separate
caches for each. So technically you would lose the cache you were
previously working with, but you gain another. I have only read how to
use the cache, and never actually used it so take this with a grain of
salt. Here is the msdn link for ASP.NET caching
http://msdn2.microsoft.com/en-us/library/xsbfdd8c.aspx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,566
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top