• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
'Remember Me' doesn't work

#1
[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

#2
[eluser]Yash[/eluser]
Show me code

#3
[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?

#4
[eluser]Yash[/eluser]
Which Auth Lib ? Ask Qs to its creator if above requirements are possible or not.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.