# UI Control multiple sessions hide/show groups

**URL:** https://discourse.nodered.org/t/ui-control-multiple-sessions-hide-show-groups/79408
**Category:** General
**Created:** [25 June 2023 21:45 UTC](https://discourse.nodered.org/t/ui-control-multiple-sessions-hide-show-groups/79408 "2023-06-25T21:45:49Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![kubasmyk](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/kubasmyk/32/38021_2.png) [@kubasmyk](https://discourse.nodered.org/u/kubasmyk)
#### Post date: [25 June 2023 21:45 UTC](https://discourse.nodered.org/t/ui-control-multiple-sessions-hide-show-groups/79408/1 "2023-06-25T21:45:49Z")

</div>

Hi should this be possible to do? I have dropdown node that controls show and hide groups that works fine in a browser session. When view the dashboard at the same time on the second screen ui session the dropdown changes but the show hide doesn't seem to be working. Any suggestions?

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [25 June 2023 21:58 UTC](https://discourse.nodered.org/t/ui-control-multiple-sessions-hide-show-groups/79408/2 "2023-06-25T21:58:15Z")

</div>

Doesn't work how? The screen operating drop down doesn't do what is expected? It the 2nd screen does/doesn't do what you expect?

In short, if you lose/drop/delete the session property from the msg, it will(should) affect all sessions.

---

<div class="post-metadata">

### Author: ![kubasmyk](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/kubasmyk/32/38021_2.png) [@kubasmyk](https://discourse.nodered.org/u/kubasmyk)
#### Post date: [26 June 2023 20:07 UTC](https://discourse.nodered.org/t/ui-control-multiple-sessions-hide-show-groups/79408/3 "2023-06-26T20:07:14Z")

</div>

[flows.json](https://discourse.nodered.org/uploads/short-url/ycyBiWJYmVxex3HFf3Qa7pLnBbC.json) (5.6 KB)

Here in the code if I open:

Two instances of localhost:1880/ui

and play with the input fields Triger1 and Trigger2. Then I can see it working in the same browser that I input them from but in second browser window I don't see the same happen. The only thing I see is the the input field value gets updated on the submission to the field.

---

<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: [27 June 2023 01:41 UTC](https://discourse.nodered.org/t/ui-control-multiple-sessions-hide-show-groups/79408/4 "2023-06-27T01:41:11Z")

</div>

If you delete the msg.socketid property before sending the message to the ui control node then it should update on all browsers.

---

<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: [26 August 2023 01:41 UTC](https://discourse.nodered.org/t/ui-control-multiple-sessions-hide-show-groups/79408/5 "2023-08-26T01:41:21Z")

</div>

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