# Context Variables at User/Session Level

**URL:** <https://discourse.nodered.org/t/context-variables-at-user-session-level/32088>\
**Category:** Feature Requests\
**Created:** [27 August 2020 09:12 UTC](https://discourse.nodered.org/t/context-variables-at-user-session-level/32088 "2020-08-27T09:12:02Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![sathishkumarc14](https://avatars.discourse-cdn.com/v4/letter/s/e480ec/32.png) [@sathishkumarc14](https://discourse.nodered.org/u/sathishkumarc14)\
**Post date:** [27 August 2020 09:12 UTC](https://discourse.nodered.org/t/context-variables-at-user-session-level/32088/1 "2020-08-27T09:12:02Z")

</div>

Hi,

I am trying to simulate [this example](https://discourse.nodered.org/t/how-to-work-with-text-input/14282) with two users. The flow context "textInput" is same for every user even though users trying to set different values. How can i defined user or session level parameters or variables?

**Context scopes** - [https://nodered.org/docs/user-guide/context](https://nodered.org/docs/user-guide/context)

Regards,  
Sathishkumar C.

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [27 August 2020 12:44 UTC](https://discourse.nodered.org/t/context-variables-at-user-session-level/32088/2 "2020-08-27T12:44:55Z")

</div>

Node-red is not a multi user system. If two people are running the same occurance of NR, something one person does could/will effect the things the other does.

For example, if they are both using the dashboard and one presses an 'on' button to turn on the light, it will go on, but if the other person press the 'off' button, the light will go off.

---

<div class="post-metadata">

**Author:** ![sathishkumarc14](https://avatars.discourse-cdn.com/v4/letter/s/e480ec/32.png) [@sathishkumarc14](https://discourse.nodered.org/u/sathishkumarc14)\
**Post date:** [29 August 2020 05:16 UTC](https://discourse.nodered.org/t/context-variables-at-user-session-level/32088/3 "2020-08-29T05:16:01Z")

</div>

Thanks for the clarification @zenofmud

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [29 August 2020 20:04 UTC](https://discourse.nodered.org/t/context-variables-at-user-session-level/32088/4 "2020-08-29T20:04:45Z")

</div>

I think that Paul actually meant that Dashboard is a single-user system. 😉

Node-RED does not currently have a pre-built multi-user user front-end. However, you could build one using uibuilder. Rather more complex than Dashboard though.

I'm still trying to find enough hours in the day and days in the week to finish off an authentication and authorisation extension to uibuilder that should make things a lot easier. Not finished yet though I'm afraid.

---

<div class="post-metadata">

**Author:** ![sathishkumarc14](https://avatars.discourse-cdn.com/v4/letter/s/e480ec/32.png) [@sathishkumarc14](https://discourse.nodered.org/u/sathishkumarc14)\
**Post date:** [31 August 2020 08:21 UTC](https://discourse.nodered.org/t/context-variables-at-user-session-level/32088/5 "2020-08-31T08:21:22Z")

</div>

Yeah that's great. @TotallyInformation

---

<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:** [30 October 2020 08:21 UTC](https://discourse.nodered.org/t/context-variables-at-user-session-level/32088/6 "2020-10-30T08:21:24Z")

</div>

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