Welcome Guest, Not a member yet? Register   Sign In
Getting User ID from Redux Auth
#15

[eluser]Dam1an[/eluser]
I don't recall suggesting storing all the user data in the session data, just the user_id
Using the ID you can easily lookup anything you want (yes you could do a lookup on the email as that'll be unique, but I'm assuming an integer lookup will be faster)

And you're more then welcome to add methods to get extra user info if you want (and thats what I do in my apps, a lookup based on the user_id)


Messages In This Thread
Getting User ID from Redux Auth - by El Forum - 05-24-2009, 08:35 PM
Getting User ID from Redux Auth - by El Forum - 05-25-2009, 01:23 AM
Getting User ID from Redux Auth - by El Forum - 05-25-2009, 05:13 AM
Getting User ID from Redux Auth - by El Forum - 05-25-2009, 05:19 AM
Getting User ID from Redux Auth - by El Forum - 05-25-2009, 04:18 PM
Getting User ID from Redux Auth - by El Forum - 05-25-2009, 10:35 PM
Getting User ID from Redux Auth - by El Forum - 05-26-2009, 06:08 AM
Getting User ID from Redux Auth - by El Forum - 05-26-2009, 07:46 AM
Getting User ID from Redux Auth - by El Forum - 05-26-2009, 07:53 AM
Getting User ID from Redux Auth - by El Forum - 05-26-2009, 08:11 AM
Getting User ID from Redux Auth - by El Forum - 05-26-2009, 08:16 AM
Getting User ID from Redux Auth - by El Forum - 05-26-2009, 08:21 AM
Getting User ID from Redux Auth - by El Forum - 05-26-2009, 08:26 AM
Getting User ID from Redux Auth - by El Forum - 05-27-2009, 01:45 PM
Getting User ID from Redux Auth - by El Forum - 05-27-2009, 01:53 PM
Getting User ID from Redux Auth - by El Forum - 05-27-2009, 02:15 PM



Theme © iAndrew 2016 - Forum software by © MyBB