St.session_state working on local but not when deployed

When I have a working code on my local machine but when i deploy it on ECR it seems that session_state doesnt work at all. Whan can be the cause of this?

Thank you in advance

Hi @lukabozic304,

Thank you for sharing your question with the community!

Your post is missing a code snippet and a link to your app’s GitHub repo. Please check out our guidelines on how to post an effective question here and update your post to help the community answer your question.