-
FEATURED COMPONENTS
First time here? Check out the FAQ!
How can I allow only one user session at a time ie the moment user logs in from a different browser or machine his earlier session should get invalidated.
Tried setting <max-desktops-per-session>1</max-desktops-per-session> but this doesnt seem to give desired effect. Any help will be appreciated.
1. store session reference in WebApp as a map of <User, Session>
2. Create a ServletFilter (Or ZK equivalent), that will check when user logs in
3. If User session already exists, invalidate it, and replace it with the new session
Asked: 2013-01-18 07:26:50 +0800
Seen: 33 times
Last updated: Jan 19 '13