I’m having a problem refreshing an xml file. I am bringing it in through an HTTP service component and putting it into a bindable array _cattArr, that I am using as the dataprovider for a grid.
When someone adds an item to the datagrid, it saves to the same xml file. Then I close the window, reopen it and don’t see the item that has been added.
It is writing to the xml file, because when I restart the flex app, the item has been added, it’s just not refreshing it. I have tried to resend the httpservice, but still no luck. What is the correct process for doing this?
My guess is that the browser is caching the file, after all Flex and the Flashplayer are using the browser as a basis.
On the server side you could try to set no cache headers – this depends on your server.
On the client side there’s various things you can do: