we can make active flag that is mandatory for login flow.
when user login ,all authentication info and active flag,store session in static map or database .
If user login from some other IP, will compare previous session id with current session id, if different delete the data of previous session so that previous session row from database ,so that it cannot continue n fails .
This approach I feel it is not good,becz every navigation we have to look Database. Can you suggest smthg ???
Shan Sidd wrote:This approach I feel it is not good,becz every navigation we have to look Database. Can you suggest smthg ???
Please use real words when posting to the forums. Abbreviations such as "becz" in place of "because" and "smthg" in place of "something" only serve to make your posts more difficult to read and less likely to generate useful responses.