I am not 100% sure those components answer your question, because I don’t know if refreshing the browser kills the global session or if state stays server-wide anyway, maybe give them a try:
- New library: streamlit-server-state, a new way to share states across sessions on the server
- New library: streamlit-sync, another way to sync states across sessions - #7 by whitphx
Hope to see your feedback on those
Fanilo