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

[eluser]Unknown[/eluser]
Thanks for the answers! I too just found how it works. As PhilTem said, it looks for the cookie if the user is not logged in. If the cookie is there, it logs back in. Therefore, I'll be safe if I save the user variables into the session.

Since both of you didn't mention anything about accessing the user vars in Models, I am assuming I'm doing it the right way. If accessing user variables in Models via session variables is not the right way, I'd appreciate some guidance on a better way.

Thanks.


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



Theme © iAndrew 2016 - Forum software by © MyBB