Code

Response.Cache.SetNoStore();

Response.Cache.SetCacheability(System.Web.HttpCacheability.NoCache);

Response.AddHeader("Pragma", "no-cache");

//Tell proxy servers not to cache the page.

Response.Cache.SetExpires(DateTime.Now.AddSeconds(-1));