Has anybody been able to implement a “remember me” feature with CodeIgniter’s FreakAuth Library?
Has anybody been able to implement a remember me feature with CodeIgniter’s FreakAuth Library?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I don’t use freakauth, I just do those things in my own custom library. However, I needed this feature and was having troubles getting something to work until someone pointed me here:
http://codeigniter.com/wiki/PK_Session/
It works great for me. I would guess it works with the freakauth library too. Basically, in your controller you see if remember me was checked, then you call:
It then can set another cookie that stores if the other should be remembered.
There’s more to it, but just read through the code to get an idea of how it works.