# THttpServer and a web page autoupdate?

**URL:** <https://root-forum.cern.ch/t/thttpserver-and-a-web-page-autoupdate/63010>\
**Category:** ROOT\
**Tags:** jsroot\
**Created:** [February 24, 2025, 1:17am UTC](https://root-forum.cern.ch/t/thttpserver-and-a-web-page-autoupdate/63010 "2025-02-24T01:17:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pavel1murat](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/pavel1murat/32/35068_2.png) [@pavel1murat](https://root-forum.cern.ch/u/pavel1murat)\
**Post date:** [February 24, 2025, 1:17am UTC](https://root-forum.cern.ch/t/thttpserver-and-a-web-page-autoupdate/63010/1 "2025-02-24T01:17:12Z")

</div>

Dear ROOT experts,

I’m running a data quality monitoring job with THttpServer rendering the histograms.  
I’m setting the `URL=http://localhost:8877/win4/?monitoring=2000` in hope that the page would be updated every two seconds. That doesn’t happen. I can update the page manually by clicking on a “Reload RBrowser” icon, but an automatic update seems to be disabled.

The outcome doesn’t depend on whether I’m trying to display a browser page or a page displaying a canvas with a histogram drawn on it.

Most likely, I’m not specifying all needed options, so I’d appreciate an expert advice on how to specify a ‘refresh page’ behavior.

– thanks, regards, Pasha

\_ROOT Version: 6.32.08  
\_Platform: alma linux 9  
\_Compiler:gcc13

* * *

 ![dqm_002](https://root-forum.cern.ch/uploads/default/original/3X/d/1/d1af989e650707f44c9d4697a1c78f0ed7d6815e.png)

---

<div class="post-metadata">

**Author:** ![linev](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/l/2bfe46/32.png) [@linev](https://root-forum.cern.ch/u/linev)\
**Post date:** [February 24, 2025, 7:15am UTC](https://root-forum.cern.ch/t/thttpserver-and-a-web-page-autoupdate/63010/2 "2025-02-24T07:15:46Z")

</div>

Hi,

You are showing screenshot of `RBrowser`.

This kind of application does not support `monitoring` URL parameter.  
But you can simply use `TCanvas` functionality like:

```auto
c->Modified();
c->Update();

```

And call this every time when you want to update drawing in the `RBrowser`.  
Most convenient way is to use `TTimer` to configure regular actions in the ROOT.

Regards,  
Sergey

---

<div class="post-metadata">

**Author:** ![pavel1murat](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/pavel1murat/32/35068_2.png) [@pavel1murat](https://root-forum.cern.ch/u/pavel1murat)\
**Post date:** [February 24, 2025, 5:23pm UTC](https://root-forum.cern.ch/t/thttpserver-and-a-web-page-autoupdate/63010/3 "2025-02-24T17:23:22Z")

</div>

Sergey, thanks a lot !

---

<div class="post-metadata">

**Author:** ![system](https://root-forum.cern.ch/uploads/default/original/3X/e/f/efe4f24398fd8ffeb76bccb6ecc46d9d9c003376.png) [@system](https://root-forum.cern.ch/u/system)\
**Post date:** [March 10, 2025, 5:24pm UTC](https://root-forum.cern.ch/t/thttpserver-and-a-web-page-autoupdate/63010/4 "2025-03-10T17:24:12Z")

</div>

Closed on March 10, 2025, 5:24pm UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
