# Ui control empty payload refreshes all sessions

**URL:** <https://discourse.nodered.org/t/ui-control-empty-payload-refreshes-all-sessions/49957>\
**Category:** Dashboard\
**Created:** [20 August 2021 15:34 UTC](https://discourse.nodered.org/t/ui-control-empty-payload-refreshes-all-sessions/49957 "2021-08-20T15:34:06Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sean-McG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sean-mcg/32/54677_2.png) [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Post date:** [20 August 2021 15:34 UTC](https://discourse.nodered.org/t/ui-control-empty-payload-refreshes-all-sessions/49957/1 "2021-08-20T15:34:07Z")

</div>

Is it normal operation that an empty payload refreshes ALL sessions even if it has a socket id ?

payload: ""  
socketid: "Nkflidq9yLTqULbUAAJb"

---

<div class="post-metadata">

**Author:** ![Gunner](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gunner/32/43582_2.png) [@Gunner](https://discourse.nodered.org/u/Gunner)\
**Post date:** [21 August 2021 00:16 UTC](https://discourse.nodered.org/t/ui-control-empty-payload-refreshes-all-sessions/49957/2 "2021-08-21T00:16:45Z")

</div>

Your question is a bit vague, what without any context of what you are doing and the results expected... and while I admit I am still a bit baffled as to what the `ui_control` node really does... the `HELP` info implies that the `socketid` may not be what you think it is; As in it is a (presumably) random number that changes and not a specific ID that indicates a preferential choice of action.

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/3/83359b852a1e16a3d9dca59d4fd7661f1e60f2c7.png)

Just a guess of an answer to a guessed meaning of a question 😇

---

<div class="post-metadata">

**Author:** ![Sean-McG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sean-mcg/32/54677_2.png) [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Post date:** [21 August 2021 01:46 UTC](https://discourse.nodered.org/t/ui-control-empty-payload-refreshes-all-sessions/49957/3 "2021-08-21T01:46:13Z")

</div>

I was expecting that only the client that is referenced by the socketid would be refreshed.

---

<div class="post-metadata">

**Author:** ![Gunner](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gunner/32/43582_2.png) [@Gunner](https://discourse.nodered.org/u/Gunner)\
**Post date:** [21 August 2021 02:20 UTC](https://discourse.nodered.org/t/ui-control-empty-payload-refreshes-all-sessions/49957/4 "2021-08-21T02:20:18Z")

</div>

I can guess that you may be referring to some form of websocket or HTTP node, etc, but what client? Referenced from what source? What let you to expect this result? And since the `ui_node` is dashboard related, what is happening or expected to happen to whatever you have going on there?

My curious responding helps keep your topic current, but without more clarity you may not get any informed answers and/or alternate solutions from the forum.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [21 August 2021 12:48 UTC](https://discourse.nodered.org/t/ui-control-empty-payload-refreshes-all-sessions/49957/5 "2021-08-21T12:48:42Z")

</div>

Yes that is the behaviour.

---

<div class="post-metadata">

**Author:** ![Sean-McG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sean-mcg/32/54677_2.png) [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Post date:** [22 August 2021 12:38 UTC](https://discourse.nodered.org/t/ui-control-empty-payload-refreshes-all-sessions/49957/6 "2021-08-22T12:38:15Z")

</div>

Thanks for the replies.

Basically I wanted to know if it was possible to only refresh the browser session that sent the message to UI control node.

If it is normal that all open sessions are refreshed then that’s fair enough.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [22 August 2021 13:36 UTC](https://discourse.nodered.org/t/ui-control-empty-payload-refreshes-all-sessions/49957/7 "2021-08-22T13:36:37Z")

</div>

If you tell it to jump to the tab it is already on (with the actual number or name of the tab) then I think it should only go to that session.

---

<div class="post-metadata">

**Author:** ![Sean-McG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sean-mcg/32/54677_2.png) [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Post date:** [23 August 2021 23:56 UTC](https://discourse.nodered.org/t/ui-control-empty-payload-refreshes-all-sessions/49957/8 "2021-08-23T23:56:35Z")

</div>

I tried your suggestion, but it doesn't look like it does an actual refresh, if using browsers refresh you can see it redraw the page, jumping to same tab doesn't seem to actually do anything though.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [6 September 2021 23:57 UTC](https://discourse.nodered.org/t/ui-control-empty-payload-refreshes-all-sessions/49957/9 "2021-09-06T23:57:08Z")

</div>

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