How to invalidate a login token?

Posted in General by Debopam Parua Tue Jun 27 2017 09:23:29 GMT+0000 (UTC)·Viewed 85 times

I have developed a website to view my raspberry pi home servers, by connecting them through remot3. But, I want there to be only a single session at anytime to view the pi. I find if I login from two different clients, both the sessions remain active and both can be used. How can I invalidate an old login token when a new token is generated?
  
Markdown is allowed