Welcome Guest, Not a member yet? Register   Sign In
How to verify if a user is logged in?
#7

Hi RogerMore, not really, turns out CI does it automatically when you use a db table for sessions. If there is a valid session cookie then CI will check it against the db and if there is no match then it will destroy the session cookie and generate a new one. I thought I had to do it myself, CI is taking care of it for me!! Thank you anyway!
Do the one thing you think you cannot do. Fail at it. Try again. Do better the second time. The only people who never tumble are those who never mount the high wire.
Reply


Messages In This Thread
RE: How to verify if a user is logged in? - by lexxtoronto - 04-22-2015, 08:14 AM



Theme © iAndrew 2016 - Forum software by © MyBB