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

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top