CakePHP remember me with Auth

后端 未结 8 1931
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-11-30 06:22

I have successfully used Auth, but unfortunately, it seems that it does work only with Session. I want that if user checks \"Remember Me\" checkbox, I would use Cookie and h

8条回答
  •  北海茫月
    2020-11-30 06:35

    Remember me is nothing else but session identified with a cookie, but cookie lifetime set to infinity. Look at Config/core.php for session cookie lifetime.

提交回复
热议问题