Mark, Thank you for the suggestion!
> put decompress(url myFilePath & "?=" & the millisecs) into tMyData This seems to resolve the problem. Do you think there could be a problem in that the "cached" urls could get piled up? Thanks! -Dan On Mar 22, 2012, at 9:46 AM, use-livecode-requ...@lists.runrev.com wrote: > Hi Dan, > > Although the internet library is no included in the iOS version of LiveCode > as far as I know, you could try to unload the url before loading it again. If > that doesn't work, you could try to use a different url every time, e.g. > > put decompress(url myFilePath & "?=" & the millisecs) into tMyData > > I'd expect to have a neat way to clear the cache but I don't know of that. > > -- > Best regards, > > Mark Schonewille > > On 22 mrt 2012, at 17:26, Dan Friedman wrote: > >> Greetings, >> >> I am experiencing an issue on my iPad with my LiveCode project that is >> puzzling me. It appears that my iOS app is caching data from a server. >> Once I read a file from my server in my app, that's the only version of the >> file that I get. For example, I read the file and I get the correct data. >> I then change the data on the server. I then read the data again on the >> iPad, and I get the original copy of the data! The same thing happens even >> if I alter the data on the server from the iPad its self! >> >> To read the data, I am using a simple put: >> put decompress(url myFilePath) into tMyData >> >> I can write to the server without issue. Using a simple "put", I can write >> the data to the server without issue. I have verified this is working. >> However, re-reading the data returns the original version of the data! >> >> I don't think the issue is my server as the EXACT code is working perfectly >> on the desktop version of LC (and has been for years). >> >> Any thoughts or ideas of what could cause this?? ANY advice is appreciated >> as I have already pulled most of my hair out on this! >> >> -Dan _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode