Steve C. Orr [MVP, MCSD] wrote:
Response.Expires = 0
Response.Cache.SetNoStore()
Response.AppendHeader("Pragma", "no-cache")
Unless you really need "Cache-Control: no-store", I would prefer the
shorter
Response.Cache.SetCacheability(HttpCacheability.No Cache);
which is equivalent to the cache directive
<%@ OutputCache Location="None" %>
Cheers,
--
http://www.joergjooss.de
mailto:ne********@joergjooss.de