Welcome Guest, Not a member yet? Register   Sign In
Keeping a user logged in
#1

(This post was last modified: 01-07-2015, 11:55 AM by rakibtg.)

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.
Reply
#2

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
Reply
#3

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

http://blog.ericterpstra.com/a-sample-co...d-session/
http://www.codeproject.com/Articles/4769...odeigniter

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

Reply




Theme © iAndrew 2016 - Forum software by © MyBB