Refreshing question

jonathandlynch at gmail.com jonathandlynch at gmail.com
Wed Jul 12 11:34:55 EDT 2017


If the data is always the same, then I would update a page and have the browser read it.

Are you looking to reload the whole page or just update a few data points?

Sent from my iPhone

> On Jul 12, 2017, at 11:11 AM, jbv via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> Hi guys
> I have a web page that displays various informations
> that need to be updated/refreshed every minute.
> What is the best way to achieve that ?
> 
> 1- client side : a settimeout in a js script that
> triggers a LC script on a remote server via xmlhttp,
> and returns xml data that is analyzed and displayed;
> 
> 2- server side : a cron job triggers the script
> every minute and writes the output data in a
> specific location on the server; and then the
> web page reads that data via a simple LC script
> via an xmlhttp request...
> 
> I forgot to mention : the data are the same for
> anyone connected to the web page.
> 
> Thanks in advance.
> jbv
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list