Welcome Guest, Not a member yet? Register   Sign In
Extending ci_sessions table
#7

[eluser]WanWizard[/eluser]
You should not use the session_id in your application, it's an id, random and internal to the session class.

If you need session related data, it should be in the sessions table (either in a separate field or in the userdata). There are several reasons why session_id's change, there is no way you can keep your users table in sync...


Messages In This Thread
Extending ci_sessions table - by El Forum - 12-17-2010, 08:31 AM
Extending ci_sessions table - by El Forum - 12-17-2010, 09:13 AM
Extending ci_sessions table - by El Forum - 12-19-2010, 06:31 PM
Extending ci_sessions table - by El Forum - 12-20-2010, 01:40 AM
Extending ci_sessions table - by El Forum - 12-22-2010, 06:15 PM
Extending ci_sessions table - by El Forum - 12-22-2010, 07:12 PM
Extending ci_sessions table - by El Forum - 12-23-2010, 04:10 AM



Theme © iAndrew 2016 - Forum software by © MyBB