Globally disabling caching

  • Thread starter Thread starter Norton
  • Start date Start date
N

Norton

Is there a way in the web.config or wherever that I can set to make sure no
page of my website does caching?

Thanks.

Norton
 
You can create a base class derived from System.Web.UI.Page, which does
this, by means of adding the necesssary headers to the Response. Then
inherit from it to create your Pages.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
I get paid good money to
solve puzzles for a living
 
Back
Top