Ratcho Posted April 28, 2016 Share Posted April 28, 2016 Hello, I am currently working on a site and would like to add the option for users to click 'Remember Me'. I was just wondering what the best way of doing this may be. I am currently using the CodeIgniter Framework for the website and using PHP sessions, but not sure how effective this would be when it comes to a remember me. Thank you in advanced. Happy Trucking! illtag Link to comment Share on other sites More sharing options...
HumaneWolf Posted April 28, 2016 Share Posted April 28, 2016 I'd recommend checking if the framework have functions to help with this, that would be the easiest if it is the case. Can be either: Complete solutions - premade backend for a remember me button. Session identifier code generator (generates a hash/unique string to identify the session). You'll need to save this in the database. Or another useful tool helping you build the solution. HumaneWolf - Website - Twitter - GitHub Ex-Developer Link to comment Share on other sites More sharing options...
HumaneWolf Posted April 29, 2016 Share Posted April 29, 2016 You can check out this question on StackOverflow: http://stackoverflow.com/questions/3984313/how-to-create-remember-me-checkbox-using-codeigniter-session-library 1 HumaneWolf - Website - Twitter - GitHub Ex-Developer Link to comment Share on other sites More sharing options...
Ratcho Posted April 29, 2016 Author Share Posted April 29, 2016 That's extremely helpful thanks! Link to comment Share on other sites More sharing options...
Hydraulics Posted May 16, 2016 Share Posted May 16, 2016 I recommend you don't provide such a feature. I have outlined some reasons here http://stackoverflow.com/a/28867450/337055 Link to comment Share on other sites More sharing options...
Ratcho Posted May 16, 2016 Author Share Posted May 16, 2016 Okay brilliant thanks! Link to comment Share on other sites More sharing options...
Recommended Posts