Refreshing question
jbv
jbv at souslelogo.com
Wed Jul 12 11:11:57 EDT 2017
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
More information about the use-livecode
mailing list