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
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