CodeIgniter Forums
Keeping a user logged in - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forum-5.html)
+--- Forum: Libraries & Helpers (https://forum.codeigniter.com/forum-11.html)
+--- Thread: Keeping a user logged in (/thread-706.html)



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/