Welcome Guest, Not a member yet? Register   Sign In
Adding a user id column to CI's session table
#1

[eluser]stevefink[/eluser]
Hi all,

I'm looking to affiliate each row in CI's session table with a particular user. The user has an id in a relating entity (different table). Have any of you found a best practice to incorporate this ID into the session table?

I'm personally thinking just adding a column, stuffing the user_id into the user's session store, then retrieving that and updating the cookie table once it's available. Not sure if I can think of a better algorithm right now.

Any ideas?

/sf


Messages In This Thread
Adding a user id column to CI's session table - by El Forum - 04-20-2008, 09:11 AM
Adding a user id column to CI's session table - by El Forum - 04-20-2008, 09:48 AM
Adding a user id column to CI's session table - by El Forum - 04-20-2008, 05:51 PM
Adding a user id column to CI's session table - by El Forum - 04-20-2008, 06:03 PM
Adding a user id column to CI's session table - by El Forum - 04-20-2008, 06:22 PM
Adding a user id column to CI's session table - by El Forum - 04-21-2008, 01:08 AM



Theme © iAndrew 2016 - Forum software by © MyBB