• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Keeping a user logged in

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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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