Session_state is getting resetted when I move to a new page in Streamlit App

Hi all,

My streamlit Session State values are being resetted when I go to a new page.
For example, I have the following code:

import streamlit as st

if 'naam' not in st.session_state:
	st.session_state['naam'] = ''

def show():

	naam = st.text_input('Naam:', key = 'naam')

	st.write(st.session_state)
	st.button('Click')

I can see that the value is being saved to Session State but when I navigate to a different page and come back, the value is set to its initial state.

Can anyone please help me?