I have a streamlit app that shows a dashboard and contains login, however I just want to have a session timeout that means if a user logged in and not logged out the the session should end in 30 minutes. i.e. if 30 minutes passed then logout should be done, go to login again.
another issue is there a way to prevent simultaneous login, i.e a user can not logged in in multiple ttabs, I already did it using an external file to check if a user is logged in or not, but the issue i need to detect if the user close the browser tab.
- Streamlit version: 1.9.0
- Python version: 3.7
- OS version: linux, ubuntu 22
- Browser version: chrome