We have a web application developed using struts2, spring and hibernation.
An application needs functionality that one user can log into from just one browser.
Say, if user x is registered in pc-1 browser ff, then he cannot be registered in any other place.
I tried it using the implementation session map and saved the sessions on the global map, but this fails when the user logs out and tries to log in again.
Even if this is not the case, it is critical if the user does not log out and session timeouts, but the card is not cleared.
Itβs best to implement this functionality.
We do not want to prevent the user from logging in, but we do not want users to use this application, allowing them to share krillia and allow multiple users with the same name.
source share