NetTalk Central

Author Topic: Dinamic refresh value on memory form  (Read 3677 times)

miasoft

  • Newbie
  • *
  • Posts: 14
    • View Profile
    • Email
Dinamic refresh value on memory form
« on: August 03, 2017, 09:44:36 PM »
Hi, All!
I recently modified "ConnectChecker" from SelfService example (where SelfService and WebServer are using). I added field  "Glo:Temperature" (data from UART). On desktop screen this field update. All is Ok.
I added corresponded  display field on memory form . But this one is no update periodically, only displayed for first load of memory form in browser.
And no update on "CheckNow" button(at memory form) , but field on desktop form is update.

How can I update this field  in browser?
NetTalk v 6.58
WBR, Igor

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Dinamic refresh value on memory form
« Reply #1 on: August 03, 2017, 10:46:26 PM »
Hi Igor,

NetTalk 6:
Browsers work on a request/response basis. The browser requests a page, the server responds with the page. If the page needs to be updated then the browser has to ask for it.

NetTalk 9:
NetTalk 9 introduces WebSockets, which allow servers to push data at the web page. If you used this you would be able to push the value to the browser.

cheers
Bruce