'Remember Me' doesn't work - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: 'Remember Me' doesn't work (/showthread.php?tid=10513) |
'Remember Me' doesn't work - El Forum - 08-02-2008 [eluser]PHP Programmer[/eluser] Hi I am trying to 'remember me' feature of userauth application but it is not working. I am unable to keep remember my username/password for future use. Also, I have enabled cookies in my system. Is there something I need to do in the function to correct this feature?? Please help Thanks Anuj 'Remember Me' doesn't work - El Forum - 08-03-2008 [eluser]Yash[/eluser] Show me code 'Remember Me' doesn't work - El Forum - 08-03-2008 [eluser]PHP Programmer[/eluser] I have no code for the same. What I only have is - if($username && $password) { if($this->userauth->trylogin($username, $password, TRUE)) { if ($remember_me) { $this->remember_me->addRememberMe($username); } // return page is based on flash data redirect ($this->session->flashdata('uri')); } else { $data['content'] = '<p class="error">' . $this->lang->line('ua_log_error').'</p>'; } But I am missing remember_me.php file and addRememberMe() function. Where can I find them in userauth application? 'Remember Me' doesn't work - El Forum - 08-03-2008 [eluser]Yash[/eluser] Which Auth Lib ? Ask Qs to its creator if above requirements are possible or not. |