Page doesn't un-cache itself in ASP.NET C#

Posted by waqasahmed on Stack Overflow See other posts from Stack Overflow or by waqasahmed
Published on 2010-04-01T22:48:48Z Indexed on 2010/04/01 22:53 UTC
Read the original article Hit count: 326

Filed under:
|
|
|

Hi,

I sometimes find that I need to press CTRL+REFRESH BUTTON (or simply REFRESH BUTTON) in order for pages to be updated. I thought this may have been a problem with using AJAX Update Panel and things, but it also happens on pages where there is no AJAX partial rendering. I have also removed if(!isPostBack), and yet still I need to refresh the page for the contents to be updated.

Is it to do with the cache?

Does anyone know of a fix for this? I believe it only happens with IE 7 (which I am using). I tried the same feature with Chrome, and it worked as it is supposed to.

© Stack Overflow or respective owner

Related posts about c#

Related posts about renderpartial