Emptying the cache for the entire ASP.NET site

D

Daren

Hi,

I have an asp.net site, with most of the pages having this statement at
the top to cache them for 10 minutes:

<%@ OutputCache Duration="600" VaryByParam="none" %>

Now, under certain circumstances, I want to be able to manually empty
the cache for *all* the pages in the site, as if I was doing an
IISRESET. How could I do this from within an asp.net page?

Daren
 

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,999
Messages
2,570,243
Members
46,836
Latest member
login dogas

Latest Threads

Top