Hi people, I'm trying to load XML data from an RFID reader via HTTP(the reader has a webserver on it), if i use the xml.load method in CS2 it works absolutely fine.
But trying to rewrite the code in CS3, i have come across what seems to be a caching problem, although there is something weird going on. The problem is if i put a tag in front of the reader, the XML remains the same, as i said in CS2, everything works fine and the XML is returned updated. I can get the CS3 application to update it's XML if i load the XML url into internet explorer which shows me the xml how it would be updated. So either the CS2 and internet explorer are sending some type of flush command to the RFID reader, or there is a caching problem somewhere.. Can anyone shed any light on why the http request might be different? This is the code i have to set the http headers and make the request to the, it returns xml, so the url is working fine. Code: var header:URLRequestHeader = new URLRequestHeader("Cache-Control", "no-cache, no-store, max-age=0, must-revalidate"); var request:URLRequest = new URLRequest(url); request.data = new URLVariables("oper=queryTags&raw=1"); request.method = URLRequestMethod.GET; request.requestHeaders.push(header); _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com