CakePHP remember me with Auth

后端 未结 8 1930
爱一瞬间的悲伤
爱一瞬间的悲伤 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:40

    It's been a while since the question was answered but hopefully this can help to ones that come after me.

    I've written short walkthrough on how to setup 'remember me' functionality using Auhenticate Plugin from Ceeram

    More info here: http://mirkoborivojevic.com/posts/2013/08/10/setup-remember-me-functionality-in-cakephp/

提交回复
热议问题