I'm trying to create an Android App which will communicate with Ktor server. I have successfully established a session with those two. And everything seems to work fine. On my Android app I've implemented One Tap sign in with Google, so whenever a user is authenticated, I receive a TOKEN which I'm sending to my Ktor server for verification. After it is successfully verified, I'm then saving users credentials on the server. For the session storage I'm using "directorySessionStorage". There's just one thing that's troubling me right now, and I'm hitting the wall. So whenever I launch my Android App, I'm signing in and immediately starting a NEW session with Ktor server. The only problem is, that the OLD session is not deleted even after a NEW one was created. Now I can remove that OLD SESSION if the user clicks SIGN OUT button in my Android app explicitly. However if the user just closes the app and launch it again without clicking SIGN OUT button, then that OLD SESSION will not be deleted, and a NEW one will be created, with new app launch. That way I'm seeing new session on my server directory every time a same USER launches the app again without SIGNING OUT explicitly. I don't want that, I want to remove the OLD SESSION, whenever a NEW one is created for that same USER. I'm not sure about the actual logic which needs to be implemented for that, can someone point me in the right direction? 🤔 Or is there any way that I can manually set the time limit on a session?