How to trigger browser session close if we are using different framework for Front-end?

Hi all,

I’m using different framework for my front-end, and calling user login API at the back-end with Frappe. If I open another tab/browser with the same user login, at the backend it show the previous session was closed. But in front-end was not, because it’s not tie with Frappe framework.

How can we make the back-end & Front-end align with the session ?