• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.