HttpServer User Defined Page Data Refresh

Find and share HowTos to various installations / configurations!
Search

Post Reply
5 posts • Page 1 of 1
chandra
Posts: 32
Joined: Fri Oct 06, 2017 12:25 pm

HttpServer User Defined Page Data Refresh

Post 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.

User avatar
kilianvp
Posts: 443
Joined: Fri Jan 16, 2015 10:29 am

Re: HttpServer User Defined Page Data Refresh

Post 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.

chandra
Posts: 32
Joined: Fri Oct 06, 2017 12:25 pm

Re: HttpServer User Defined Page Data Refresh

Post 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.

chandra
Posts: 32
Joined: Fri Oct 06, 2017 12:25 pm

Re: HttpServer User Defined Page Data Refresh

Post 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.

gschijndel
Posts: 373
Joined: Tue Jan 15, 2019 3:12 pm

Re: HttpServer User Defined Page Data Refresh

Post 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?

Post Reply
5 posts • Page 1 of 1