Hello,
I am having problems getting my flex application to refresh data once
it has been updated on the server side and believe it is a caching issue.
In my PHP I set the caching to no cache
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in
the past
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); //
always modified
header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
but the flash player doesn't seem to respect it.
I have written a function in as that I believe I would have to add the
caching into
private function resetForm():void{
tempXML.asset = tempXML.asset;
}
however I'm still a noob and not sure how to get it going.
Any help would be great.