Session_state timeout issue

Hi there!

So I have a web app that the average user would be using for around an hour at a time, other times they may have the tab open but not using it. Our issue is that the st.session_state while working for our login logic and while our users are using the app are then not recognized as being initialized after some time. Sometimes this is after 2 hours, sometimes after 5 hours.

From the docs I can only see that all st.session_state are wiped after a refresh and/or the browser/window is closed or the server crashing. While all of this may be possible with our users it is happening on our localhosts when we tested this issue.

Any light that you could throw on this would be much appreciated.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.