Monday, May 2, 2011

how to prevent the ASP.NET page being cached

Put following code into Page_Load
Response.Cache.SetCacheability(System.Web.HttpCacheability.NoCache);

No comments:

Post a Comment