Understanding page cache when storing an object in it.

O

Oleg

Using ASP.NET 2.0
I always thought that cache has a global scope in the web application.
Is it possible to save an object to the page cache so it's not in the
application scope?

And if I set page cache to expire, would the object expire also?

Thanks,
Oleg
 
O

Oleg

Can I make it expire automatically? Especially if I write the object in cache
programmatically?
 
G

George Ter-Saakov

Expire what? Cache entry? What the point of using Cache then?
Just have your own static Hashtable in Global.

George.
 

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,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top