locked
Purging Cache within a HttpModule RRS feed

  • Question

  •  

    Can the ASP.NET cache be purged from a HttpModule?  I need the code for each page to rerun after I purge certain data that I track in a HttpModule.  However when I attempt to get the cache (HttpRuntime.Cache) it doesn't seem to contain anything.  However when debugging it, the code in the page does not get executed the second time through and perfmon asp.net total cache shows there are items.  I am using the CommerceAD (IBuySpy.com) for my testing.

    Does anyone know what is going on or how to purge this cache so that the page code will run the second time through?  I would prefer to just be able to purge the entire cache when need rather than disable it entirely.

    Thanks.

    • Moved by nobugz Sunday, October 5, 2008 5:50 PM forums.asp.net (Moved from .NET Base Class Library to Off-Topic Posts (Do Not Post Here))
    Sunday, October 5, 2008 2:50 PM

Answers