Nayanapawar / simile-widgets

Automatically exported from code.google.com/p/simile-widgets
0 stars 1 forks source link

Cache problem in IE for Timeline (Always show the same data even after xml file change) #420

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?
When first time see the timeline page in IE, It's fine, but after that it 
always show the same data even the xml file for timeline change on condition.

What version of the product are you using? On what browser and what
operating system?
asp.net 4.0
IE-8
Please Help urgently.

Please provide any additional information below.

Original issue reported on code.google.com by kumarmca...@gmail.com on 31 Dec 2010 at 8:54

GoogleCodeExporter commented 9 years ago
Our project has always had this problem as well with IE and ajax calls in 
general, not just Timeline.  Solution is to add a cache busting querystring 
param to the xml url you are using.  For example ?cache=<randomValue>.  Where 
randomValue might be provided by javascipt like "new Date().getTime()".  The 
key is that the value must be different for every fetch.

Hope this helps.

Original comment by codebene...@gmail.com on 9 Feb 2011 at 9:41

GoogleCodeExporter commented 9 years ago
Hi codebene,

Thanks for help, but even after randomize the url I didn't get solution. For 
randomization I used here Guid of Microsoft Dot net technologies, which always 
generate random number and I used it in url as querystring.

Original comment by kumarmca...@gmail.com on 30 May 2011 at 6:20

GoogleCodeExporter commented 9 years ago

Original comment by ryan...@csail.mit.edu on 23 Jun 2011 at 10:26