jsp - Users at a time should login from one place only in java -


i want suppose if user logged website 1 location , @ same time user tries login location/computer should display "user logged in already" or should give error.. not asking code please dont close question. have searched alot posting question .
please give me links or ideas can implement in project. have made website in java struts2.

spring security has this, take @ http://docs.spring.io/spring-security/site/docs/3.1.x/reference/session-mgmt.html#concurrent-sessions

you can either use spring security (which means redoing auth stuff) or @ classes concurrency , implement similar.


Comments

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -

c# - Block closing WPF window (from a different thread) if OpenFileDialog is open -