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): https://github.com/ceeram/Authenticate/blob/master/Controller/Component/Auth/CookieAuthenticate.php 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 [email protected]. To unsubscribe from this group, send email to [email protected]. Visit this group at http://groups.google.com/group/cake-php?hl=en.
