There's Response.RemoveOutputCacheItem method, however you'd need to call it
for every cached page...
http://msdn.microsoft.com/library/de...t emTopic.asp
--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU
http://blogs.aspadvice.com/joteke
"Daren" <pearcy (AT) gmail (DOT) com> wrote
Quote:
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 |