Sunday, September 16, 2012

Re: How to implement the Remember Me with Auth?

http://www.dereuromark.de/2012/02/02/more-persistent-sessions-in-cake2-x/ 
is one easy way (only adding the component).

but since 2.x there is also some CookieAuth (i never tried before, though):


Am Sonntag, 16. September 2012 16:00:51 UTC+2 schrieb tomtom:
Hello,

I have successfully used Auth, but unfortunately, it seems that it does work only with Session. I want that if user check "Remember Me" checkbox, I would use Cookie and he would be logged in for 2 weeks. I can't find anything in official book and in Google I found just few and not great blog posts. Is there any easy way to implement this? Thanks.

--
Like Us on FacekBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 

No comments: