![]() |
Login Help - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Login Help (/showthread.php?tid=35393) |
Login Help - El Forum - 10-27-2010 [eluser]steviez[/eluser] Hi, I am developing a site using CodeIgniter and currently working on the login system... What is the best way to make a secure login system to work around my database structure that will also allow the use of a "remeber me" function. I have done a login system using sessions already and it works fine but i cant get a "remember me" function to work with it. Any help would be great! Thanks Login Help - El Forum - 10-27-2010 [eluser]umefarooq[/eluser] hi steviez don't create your self there are already developed Auth system available in ignited code forum check ion Auth this is good and easy to implement http://ellislab.com/forums/viewthread/145263/ Login Help - El Forum - 10-27-2010 [eluser]steviez[/eluser] [quote author="umefarooq" date="1288258537"]hi steviez don't create your self there are already developed Auth system available in ignited code forum check ion Auth this is good and easy to implement http://ellislab.com/forums/viewthread/145263/[/quote] Hi, Thanks for your recommendation but ive already done all my login, register, activate and forgot password systems. The only thing i have not done correct is the login system. Not sure if i should go with cookies and how best to go about it... A remember me function is a MUST. Steve Login Help - El Forum - 10-27-2010 [eluser]bretticus[/eluser] If you don't want to toss your authentication code away for Ion Auth, you might want to consider using a cookie to store the user's identification. I suggest a separate GUID in the database for each user record. Or you can encrypt the identification in the cookie. When the session times out, the login page would only require a password login (You'd want a way to completely log out too.) |