I am utilizing the streamlit-cookies-manager library: streamlit-cookies-manager · PyPI
and loading it as follows
from streamlit_cookies_manager import EncryptedCookieManager
cookies = EncryptedCookieManager(
prefix="prefix_here",
password="pw_here"
if not cookies.ready():
st.stop()
cookies['my_key'] = 'my_value'
cookies.save()
I am noticing that any attribute I add and save to the cookies does not appear to work on a quick mobile test (iPhone 13 / safari) as well as on Safari on MacOS, so some multi-session management I’m doing works on desktop firefox/Chrome but not on mobile or desktop safari
Is this expected behavior with this cookie manager? Is there an alternative approach?