How to anonymously identify a user and store that information

前端 未结 3 909
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-03 10:33

I need a simple user identification system for the purpose of allowing/prohibiting an action.

This is not a high-security requirement

3条回答
  •  天涯浪人
    2021-02-03 11:09

    Store a small unique identifier on the client side as a cookie, then use that identifier to look up whatever related session data you need on your server's side.

提交回复
热议问题