Client Side Environment variable access

Good day all,

I need to be able to set a client side environment variable and access it, when the client is active....

ie client pc opens dashboard, a local (to the client) environment variable is set up by a prompt of: "Hi there, what is your name?".....
Client then enters their name (Mike) in a text entry field and is stored to $NAME on the client pc...

During dashboard functions, the client can get personalised responses akin to:
"No, Mike, the Lights are already off."

As there are multiple points running the common dashboard, a single, server side environment variable will not work...

Or am I wrong?

TIA
Ed

You can use a template node which saves the name in a global DOM variable or in a (hidden or not) HTML tag, which you can retrieve via document.getElementById(...).value.

But as far as I know, you will not be able to access it via a $NAME property, since these are resolved in the server node, not the client widget.