Global Data for every User


how can I have global Variables set for the entire App and all the users. Its supposed to be global settings for the entire app.How do i do this?

As long as your callbacks don’t modify them, you can just set global variables in the module scope to hold this info. A lot of our examples in the docs do this for example with a dataframe that’s expected to be used in various callbacks. Check out

Hmm, but is there a way to make them modifable by a user? I have different User Groups and rights, and users with higher power should be able to change the settings for every other user. Is this possible?

Ah I see what you mean - that kind of thing would need to be stored in a database or a file, so it’s accessible to every server process as well as persisting if the server is restarted.