CodeIgniter Forums
login system with CI 3.0 - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6)
+--- Forum: CodeIgniter 3.x (https://forum.codeigniter.com/forumdisplay.php?fid=17)
+--- Thread: login system with CI 3.0 (/showthread.php?tid=61292)



login system with CI 3.0 - jaszti - 04-06-2015

Hi

I am a junior php programmer. I started to use CI (CI 2) last week. I love it. This system is simple but great. Well.. I am doing a login system with CI 2 but I see now, that the fresh version is 3.0. I would like to ask that what's news in CI3's user Management ( I use session and mysql database)
I thank you the answers! Have a nice day!


RE: login system with CI 3.0 - silentium - 04-06-2015

Welcome to CodeIgniter.

All the major changes between CI2 and CI3 can be found in this post http://forum.codeigniter.com/thread-1657-post-7480.html#pid7480

Another small note. When it comes to user management and login functionality, I highly recommend using a proven and secure auth library. Developing an authentication feature involves a lot of security that is easy to miss and the smallest mistake can open up big security holes. Personally I would recommend Ion Auth

Whit that said, building an auth feature your self will teach you a lot, and you will learn from it if you never done it before. So I encourage you to do it! Test and play around to learn, and ask questions if you get stuck.
But I again recommend using a proven auth library for anything used in production, it's just to easy to make mistakes with something that need that high level of security.


RE: login system with CI 3.0 - jaszti - 05-31-2015

Hi!

I am sorry that I didn't reply this answer. I forgotten. Thank you your answer. I use SESSION and MySQL at login system.
I always check that session (just "admin" rank is correct) exsits on every page. (I make a MY_Controller file where this process always occurs) If not than I redirect users to login page. I always use form validation library (and xss protect). What is missing from the system? Thank you! I will see Ion Auth. Smile Smile