import streamlit as st
import extra_streamlit_components as stx
cookie_manager = stx.CookieManager()
button = st.button("Get cookies")
if button:
st.subheader("All Cookies:")
cookies = cookie_manager.get_all()
st.write(cookies)
st.success("This should show up for longer than a split second")
The problem is that the st.success message dissapears....
Any solution for this issue?
Hi... Someone post it also here: https://discuss.streamlit.io/t/cookies-support-in-streamlit/16144/35 but the solution provided in this post is forcing to use forms and that shouldn't be the solution.
The problem is that the st.success message dissapears.... Any solution for this issue?
Thank you so much. Regards.