Thursday, October 22, 2009

Diable cache for the web page

Add this code on page Load::
----------------------------------
Response.Cache.SetExpires(DateTime.UtcNow.AddMinutes(-1))Response.Cache.SetCacheability(HttpCacheability.NoCache)
Response.Cache.SetNoStore()
--------------------------------
In Html part Add
-----------
META HTTP-EQUIV="pragma" Content="nocache"