My app keeps getting logged out
marcellokolax
PROOP

14 days 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?

$10 Bounty

2 Replies

Railway
BOT

13 days 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 13 days ago


therobotcarlson
PRO

13 days ago

Do you have this container set to "sleep"?


therobotcarlson

Do you have this container set to "sleep"?

marcellokolax
PROOP

10 days 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
)

Loading...