Welcome Guest, Not a member yet? Register   Sign In
Using PHP Session and the CI Session together
#16

[eluser]WanWizard[/eluser]
@bretticus:

Your assumption is correct.

If you use database sessions (and you should, do not store user data client side!), the size of the cookie is limited by the size of the user_data column in your session table, and only the session_id, user_agent, IP address and last_activity timestamp is written to the cookie. These fields are needed to find the correct session record. Also, don't forget to encrypt the session cookie, so the session_id (and other fields) can't be retrieved and used for session hijacking.


Messages In This Thread
Using PHP Session and the CI Session together - by El Forum - 08-24-2010, 03:15 AM
Using PHP Session and the CI Session together - by El Forum - 08-24-2010, 05:19 AM
Using PHP Session and the CI Session together - by El Forum - 08-24-2010, 05:32 AM
Using PHP Session and the CI Session together - by El Forum - 08-24-2010, 05:37 AM
Using PHP Session and the CI Session together - by El Forum - 08-24-2010, 05:50 AM
Using PHP Session and the CI Session together - by El Forum - 08-24-2010, 06:49 AM
Using PHP Session and the CI Session together - by El Forum - 08-24-2010, 07:19 AM
Using PHP Session and the CI Session together - by El Forum - 08-24-2010, 01:44 PM
Using PHP Session and the CI Session together - by El Forum - 08-24-2010, 01:51 PM
Using PHP Session and the CI Session together - by El Forum - 08-24-2010, 01:54 PM
Using PHP Session and the CI Session together - by El Forum - 08-24-2010, 02:16 PM
Using PHP Session and the CI Session together - by El Forum - 08-24-2010, 02:28 PM
Using PHP Session and the CI Session together - by El Forum - 08-24-2010, 02:47 PM
Using PHP Session and the CI Session together - by El Forum - 08-25-2010, 03:08 AM
Using PHP Session and the CI Session together - by El Forum - 08-25-2010, 09:42 AM
Using PHP Session and the CI Session together - by El Forum - 08-25-2010, 12:34 PM
Using PHP Session and the CI Session together - by El Forum - 08-25-2010, 12:52 PM
Using PHP Session and the CI Session together - by El Forum - 08-25-2010, 01:06 PM



Theme © iAndrew 2016 - Forum software by © MyBB