quote:
Originally posted by: V1 Fusion
goseta, there is a large topic about tacling this issue.
eayest thing is to use post requests instead of get.
var dataset = new Spry.Data.XMLDataSet('source.file','my/xpath',{method:'POST'});
100% sure that works,
same goes with my solution, also works 100%.
hey, bchau,
I have the same problem with you.
But i did try the other way mentioned above to get around.
var date = new Date();
var unique = date.valueOf();
new Spry.Data.XMLDataSet("galleries/galleries.xml?time="+unique, "galleries/gallery",{useCache: false,loadInterval:3000});
Anyone can explain to me why i can not get "{method::'POST'}"' working will be really great.!!!
By the way, spry framework is really great, I truely love it.![]()
cheers!
Thanks all for this discussion, it's just what I'm trying to solve. Unfortunately, I still have a combo of the issues.
In Firefox, adding useCache:false to the constructor worked just fine.
However,there seems to be new issues in IE8 (big surprise there), as this does not override caching.
Adding dsname.useCache=false; also does not work.
When I tried using the Post method in the constructor, Firefox 3.6 stops displaying the data set altogether, and IE8 is still using the cached data set, so unfortunately, the 100% works solution simply doesn't, at least with these versions of the browsers.
Anyone have any clues on how to make FF, IE6, and IE8 all refresh the data set? I'm really only interested in it doing so when the page loads or reloads.
North America
Europe, Middle East and Africa
Asia Pacific