Page 1 of 1

HttpServer User Defined Page Data Refresh

Posted: Sun Apr 07, 2019 7:32 pm
by chandra
Dear All,

I have designed an HTML page and I am able to monitor data from the HTTP server but data is updating after pressing reload page button on a browser.

Is there any way to update the data after a few seconds automatically.

Re: HttpServer User Defined Page Data Refresh

Posted: Mon Apr 08, 2019 9:54 am
by kilianvp
you can add

Code: Select all

<meta http-equiv="Refresh" content="5">
to your HTML do refresh the page every 5 seconds.

If you using 3.16 you can use oaJsApi.js and do a dpconnect.

Re: HttpServer User Defined Page Data Refresh

Posted: Mon Apr 08, 2019 7:43 pm
by chandra
Hai Mr. Kilianvp

Thank you for your replay, I have tried with that but data is not updating just page is refreshing for every 5 sec as you sed and I am using V3.15

Please give me any other solution.

Re: HttpServer User Defined Page Data Refresh

Posted: Wed Apr 10, 2019 9:13 am
by chandra
Dear all,

Please give me any solution to refresh data automatically from the HTTP server, I have checked in the help file of WinCC OA but I have not found any detailed information related to auto-refreshing data from the HTTP server.

I have tried with <meta http-equiv="Refresh" content="5"> this but data is not updating, only page is refreshing for every 5 seconds, please tell me where I am doing wrong.

Re: HttpServer User Defined Page Data Refresh

Posted: Mon May 13, 2019 12:01 pm
by gschijndel
If the page is refreshing every 5 seconds, then the refresh option works.
With such little information it is difficult to guess what the problem is, so I guess you have to share more information (like your user defined page) to get a solution to your issue.
Perhaps the browser caches the page. Have you added some option to prevent that?