“Remember Me On This Computer” - How Should It Work?

后端 未结 5 1065
醉话见心
醉话见心 2021-01-30 04:58

Looking at Gmail\'s cookies it\'s easy to see what\'s stored in the \"remember me\" cookie. The username/one-time-access-token. It could be implemented differently in cases wher

5条回答
  •  没有蜡笔的小新
    2021-01-30 05:42

    What I would do is link each session to an IP address. If the a session token is sent from a different IP than you have for that, reject it.

提交回复
热议问题