For example a GridView didn't show inserted or updated data unless we refresh the page (F5). Or if we restart IIS (iisreset).
After some googling it was apparent that this is an IIS6 issue.
And every try to solve it by setting caching and expiration settings in IIS 6 failed.
The only solution we found working is to hardcode the following in Global.asax
protected void Application_EndRequest(Object sender, EventArgs e)
{
HttpContext.Current.Response.CacheControl = "no-cache";
}
6 comments:
Thank you very much for your content relating to this topic, it absolutely was very useful.
Hi,
I begin on internet with a directory
Many thanks for sharing this particular good post with an above average theme, this form of excellent natural talent you have.
Good effort. At all times keep blogging!
Outstanding information. We've definitely learned something new here! Thanks.
hi, new to the site, thanks.
Post a Comment