Session's lifetime is that of a normal browser session, thus can't be used for persistent logins. You'll need to set up cookies for that.
On CakePHP 1.2 you have a cookie component available. There's a good post about it here: http://cakebaker.42dh.com/2007/01/20/lets-eat-cake-and-cookies/ If you are using CakePHP 1.1.x you'll need to port the cookie component, or use the one RosSoft developed: http://rossoft.wordpress.com/2006/05/22/cookie-component/ -MI --------------------------------------------------------------------------- Remember, smart coders answer ten questions for every question they ask. So be smart, be cool, and share your knowledge. BAKE ON! -----Mensaje original----- De: [email protected] [mailto:[EMAIL PROTECTED] En nombre de Sergei Enviado el: Domingo, 04 de Febrero de 2007 05:10 a.m. Para: Cake PHP Asunto: persistent login how to make persistent login with Cake's session component? Or should I manually create some cookies for this? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
