Welcome Guest, Not a member yet? Register   Sign In
How does Ion Auth (or other auth libraries) handle "remember me" and codeigniter sessions?
#3

[eluser]PhilTem[/eluser]
I haven't dug into the IonAuth library either (created my own for learning CI) but if it implemented a remember_me function correctly it has nothing to do with a session but rather with a cookie. So whenever the session runs out (and is not renewed by CI's session library) IonAuth looks for a "remember_me" cookie to log the user back in. This "remember_me" cookie however will be invalid after some time as well, so that the user cannot be logged in years later.

Hope this kinda answered your question !?


Messages In This Thread
How does Ion Auth (or other auth libraries) handle "remember me" and codeigniter sessions? - by El Forum - 11-06-2012, 05:25 PM



Theme © iAndrew 2016 - Forum software by © MyBB