Skip to content

Glossary: AI App Interfaces

Session state

Also written: st.session_state

A dict-like object Streamlit keeps between reruns for one session, so values like Priya's cart survive. A widget with a `key` stores its value there too.

Where the book teaches it

Related terms

RerunSessionKey (widget)gr.State