How to logout previous session of a user,if he logins again on same or different browser

后端 未结 3 1166
鱼传尺愫
鱼传尺愫 2021-01-24 10:38

I have a query, I want that if a user is already logged in to a web page and again he Relogins from same or different machine then his previous session should be killed and aut

3条回答
  •  [愿得一人]
    2021-01-24 11:16

    When user logs in again, simply generate new session ID and previous one will become invalid.

提交回复
热议问题