Welcome Guest, Not a member yet? Register   Sign In
passing in user id to retrieve user data after login
#4

[eluser]skunkbad[/eluser]
When the user logs in, or when you are checking that they are logged in, this is a good time to retrieve a user ID from the database. I assume when the user logs in, or when you are checking they are logged in when they try to access a page, you are checking the contents of a CI session or cookie. It's at this time when you know who they are, and this is the time to get the user ID.


Messages In This Thread
passing in user id to retrieve user data after login - by El Forum - 06-01-2012, 04:40 PM
passing in user id to retrieve user data after login - by El Forum - 06-01-2012, 08:55 PM
passing in user id to retrieve user data after login - by El Forum - 06-01-2012, 09:25 PM
passing in user id to retrieve user data after login - by El Forum - 06-01-2012, 09:29 PM
passing in user id to retrieve user data after login - by El Forum - 06-01-2012, 10:46 PM
passing in user id to retrieve user data after login - by El Forum - 06-01-2012, 10:47 PM
passing in user id to retrieve user data after login - by El Forum - 06-02-2012, 12:32 AM
passing in user id to retrieve user data after login - by El Forum - 06-02-2012, 08:16 AM
passing in user id to retrieve user data after login - by El Forum - 06-02-2012, 01:54 PM



Theme © iAndrew 2016 - Forum software by © MyBB