Welcome Guest, Not a member yet? Register   Sign In
implement remember me for login in CI
#2

[eluser]bigtony[/eluser]
Take a look at the [url="http://ellislab.com/codeigniter/user-guide/helpers/cookie_helper.html"]Cookie Helper[/url]

What you could do is store a cookie on the user's browser when they login. Then in future your site can try to load the cookie, and if exists with correct value you can do an auto-login. You'll need to set the cookie to exists for a while, say a few days or whatever makes sense to you.


Messages In This Thread
implement remember me for login in CI - by El Forum - 08-11-2009, 11:41 PM
implement remember me for login in CI - by El Forum - 08-12-2009, 02:21 AM



Theme © iAndrew 2016 - Forum software by © MyBB