Is there a way to clear the server cache? i did
<%Response.CacheControl = "no-cache"%> in my frame page but it doesn't seems to clear away the cache.
If you are talking about the problem that the client does not see the current data because the client has the page stored in the cache you could try putting this on top of the asp page:
<% Response.CacheControl = "no-cache" %>
<% Response.AddHeader "Pragma", "no-cache" %>
<% Response.Expires = -1 %>
If you have problems removing a file because the server stores it in cache you should try to rename it first and then remove it (I had this problem when users of my IIS application tried to change their picture).
Another way to work around this is to lower the fillowing value in the registry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Inetinfo\Parameters\ObjectCacheTTL (REG_DWORD)
See msdn on this:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.