Hi
I’m using the scheduler and I’m getting some strange problems with caching. I’m loading the events separately via xml with a URL behind them and if I change the data elsewehre (ie another user changes the data, the new data is not reloaded. Is there any way I can tell it to reload the xml every time?
on a separate note, I’m having trouble with Firefox loading the xml. If I save my generated xml to a flat file and load it its fine.
Regards
Jeremy
Hello,
in order to reload scheduler you can use the following method:
scheduler.clearAll();
scheduler.load(…);
Regarding the issue with loading - do you use connector to generate xml ?
Hi
I fixed both problems
the XML load problem was because I wasn’t sending a text/xml header. IE seems to be more forgiving on this
and the caching can be fixed by sending a
CACHE-CONTROL:NO-CACHE
header
Thanks
Jeremy