Page 1 of 1

Reading files from the internet server

Posted: Fri Apr 04, 2014 5:01 pm
by Neurox66
I've a strange problem (and big problem).
My apps (iOS and Android) update the images gallery and
update the news by reading a files on my server on internet (Aruba an italian provider).
The files are in xml format.
I reading the files with this code :

Code: Select all

put url "http://../images.xml" into tXMLData
The strange thing is that I've updated the xml file on the server but the application
does not read the new file again, return to the old file.
This happens only for the iOS version (I've tested on 5,6,7 with same results), on Android does not have this problem.
Is it possible that a cache problem?
How to solve it?

Any hints?
Paolo

P.S:
Using LiveCode 6.6

Re: Reading files from the internet server

Posted: Fri Apr 04, 2014 5:19 pm
by Simon
To avoid cache problems I believe it's
put url ("http://../images.xml?x=" & the seconds) into tXMLData

Simon

Re: Reading files from the internet server

Posted: Fri Apr 04, 2014 9:17 pm
by Jellicle
Yep a cache issue. Simon's solution may work - it depends on the server. Some auto-forward URLs like that to an error page,which is no help at all!

See bug http://quality.runrev.com/show_bug.cgi?id=10672.

Gerry

Re: Reading files from the internet server

Posted: Tue Apr 08, 2014 10:11 am
by Neurox66
Hi,
thanks for suggestion.
It's seem working. :D

Paolo