Emptying the cache for the entire ASP.NET site

Discussion in 'ASP .Net' started by Daren, Dec 19, 2005.

  1. Daren

    Daren Guest

    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
     
    Daren, Dec 19, 2005
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Wendy Smoak

    cached backed or self-emptying map

    Wendy Smoak, Apr 29, 2005, in forum: Java
    Replies:
    2
    Views:
    482
    Wendy Smoak
    Apr 29, 2005
  2. Lee

    Stack emptying

    Lee, Sep 23, 2005, in forum: C Programming
    Replies:
    5
    Views:
    363
    Keith Thompson
    Sep 24, 2005
  3. J.M.
    Replies:
    18
    Views:
    599
    Howard Hinnant
    Feb 6, 2007
  4. Eric Lilja
    Replies:
    6
    Views:
    511
    =?ISO-8859-1?Q?Erik_Wikstr=F6m?=
    Feb 15, 2007
  5. Fregas
    Replies:
    0
    Views:
    172
    Fregas
    Jan 2, 2007
Loading...

Share This Page