SetNoStore

  • Thread starter Thread starter rn5a
  • Start date Start date
R

rn5a

I am trying to prevent ASP.NET from caching a ASPX page using
Response.Cache.SetNoStore() but the page still gets cached. How do I
prevent the page from caching?

I also tried using Response.Cache.SetNoServerCaching but the page
still gets cached. Please note that I added the Response.Cache line as
the first line in the Page_Load sub.

Ron
 
I am trying to prevent ASP.NET from caching a ASPX page using
Response.Cache.SetNoStore() but the page still gets cached. How do I
prevent the page from caching?

I also tried using Response.Cache.SetNoServerCaching but the page
still gets cached. Please note that I added the Response.Cache line as
the first line in the Page_Load sub.

<head runat="server">
<meta http-equiv="Expires" content="0" />
<meta http-equiv="Cache-Control" content="no-cache" />
<meta http-equiv="Pragma" content="no-cache" />
</head>
 
Back
Top