Closed Anti-Apple4life closed 2 years ago
I have gotten this error when trying to access the cookie that I set, and when I set it as well. Below is the code referenced in the error:
cookie_manager.set("Username", username)
def checkifcookieexists(cookie_name): cookie_manager = get_manager() cookie = cookie_manager.get(cookie=cookie_name)
In one file
@st.cache(allow_output_mutation=True) def get_manager(): return stx.CookieManager(random.choice(string.ascii_letters))
In another file
What is the error you are facing?
It is resolved, I am writing this on my phone and will close it later
I am having the same issue. How did you fix the issue?
I have gotten this error when trying to access the cookie that I set, and when I set it as well. Below is the code referenced in the error:
cookie_manager.set("Username", username)
In one file
In another file