Session State - Streamlit Docs

st.session_state is a way to share variables between reruns, for each user session.