Hi guys,
I seem to be caught between a rock in a hard place here and I'm quite frustrated.
I have a chart (map) where you can drill down into the country. Upon first load it shows the data just fine. Upon changing a parameter, it changes the data for the top of the map, but when you drill down, it has the data from the previous parameter. It seems to cache the XML or the .SWF. This only occurs in Internet Explorer. So the fix for this is to disable caching on the page:
HttpContext.Current.Response.Cache.SetExpires(DateTime.UtcNow.AddDays(-1));
HttpContext.Current.Response.Cache.SetValidUntilExpires(false);
HttpContext.Current.Response.Cache.SetRevalidation(HttpCacheRevalidation.AllCaches);
HttpContext.Current.Response.Cache.SetCacheability(HttpCacheability.NoCache);
HttpContext.Current.Response.Cache.SetNoStore();
This works great! That is until I enabled SSL on the entire website. When I did that, I get "error in loading data." upon drill down. So I searched these great forums and found the solution as follows:
Cache-Control: cache, must-revalidate
Pragma: public
Well doing this fixes the "error in loading data" problem but then the IE caching issue comes back.
Any ideas on what will fix BOTH of these issues?
I've tried entering nocache=GetCurrentTime statements to no avail. I get random millisecond values, but it doesn't seem to help.
Thanks in advance. I'm a paying customer. I have a ticket in (#5523) but response is slow - I assume because of the geography.