CodeIgniter Forums
Keeping a user logged in - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=11)
+--- Thread: Keeping a user logged in (/showthread.php?tid=706)



Keeping a user logged in - rakibtg - 01-07-2015

Hello CI community Smile

I am pretty new to CI and i am loving it. I can not understand how i can keep a user logged in (i think i will do something with cookies and sessions) but is there any CI way to do this? What is the idea? Thanks in advance.


RE: Keeping a user logged in - Mohammadhzp - 01-07-2015

No, CI provide nothing for Authentication
You should use cookies, and if you want to do it in CI way, you should use "input" library
Or tell me if I got you wrong


RE: Keeping a user logged in - Rufnex - 01-07-2015

There are many examples arround the web . also some libraries:

http://blog.ericterpstra.com/a-sample-codeigniter-application-with-login-and-session/
http://www.codeproject.com/Articles/476944/Create-user-login-with-Codeigniter

https://github.com/donjakobo/A3M
https://github.com/benedmunds/CodeIgniter-Ion-Auth
http://haseydesign.com/flexi-auth/