St.session_state property defined with component

I’m making a multiple pages app with streamlit 1.0, and now when I define st.session_state.account defined with st.text_input(“”,key=“account”). When I want to use st.session_state.account in other .py file of other page, it says “AttributeError: st.session_state has no attribute ‘account’.”

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