Can we get all currently active Session Ids?

Hi @Tian

Perhaps you can explore a timeout logic (see this related thread Timeout a streamlit webapp after certain time) after a certain time span has elapsed.

Another approach is to explicitly delete or clear up data (e.g. using del on the variable).

Hope this helps!