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

[eluser]bretticus[/eluser]
Is the data really configuration data? I mean there's more than 4k worth? Maybe this is more than I anticipated. You can try enabling database sessions. I assume (because, honestly, I don't know at the moment for sure) that session data stored in the database is not also stored in the cookie. If you are having issues with the 4k limit on cookie size, give that a try. I am not aware of any significant limit on session data size using native PHP sessions, so there's an option also (no reason to use both IMHO.) Don't forget about the many caching options for PHP. For example, memcache was designed to cache data in memory to avoid trips to the database. You can always use one of the many op code/caching options in PHP to store your config data.


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