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

Hey lexxtoronto,

Are you still trying to update the ci_session table using $this->db->update('ci_sessions',$sessionData);?

I would strongly advise to use the session methods, instead of using db methods. The only time I would use db methods directly on ci_sessions, is when I want to find out which sessions are active in for example the last half hour by retrieving all records with a certain timestamp. For all other session related stuff I would use the session methods...

Happy coding!
Reply


Messages In This Thread
RE: How to verify if a user is logged in? - by RogerMore - 04-21-2015, 01:23 AM



Theme © iAndrew 2016 - Forum software by © MyBB