My app keeps getting logged out
marcellokolax
PROOP
4 months ago
I hosted a Streamlit app on the server. There is a login function but no Idle Timeout logout function. But I am getting logged out erratically so this can only be because of the container being restarted involuntarily on Railway.
Can I check how to resolve this issue?
2 Replies
Railway
BOT
4 months ago
This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.
Status changed to Open Railway • 4 months ago
therobotcarlson
PRO
4 months ago
Do you have this container set to "sleep"?
therobotcarlson
Do you have this container set to "sleep"?
marcellokolax
PROOP
4 months ago
my session state authenticator cookie expiry days was set to 0 - is this the reason why?
authenticator = stauth.Authenticate(
credentials,
"my_app_name",
"random_signature_key_change_this_in_production",
cookie_expiry_days=0
)