Welcome Guest, Not a member yet? Register   Sign In
CI Session problem
#6

[eluser]WanWizard[/eluser]
It sounds to me that your cart solution works completely independent of the session, and you 'borrow' the session ID to make your solution have a unique key.
Then make up your own unique cart ID, and store that in the regular session. As long as the session exists, that key stays the same.

I have a feeling you have made it overly complex.

The idea of a cart is that you store the ordered or selected items. In that case you don't need queries, all data you need is already in the cart datastructure.
If you absolutely need data external to the session data, store only the keys and use them to run the queries to retrieve extra information.

The relation between userdata, SQL statements, and 'serialized' is unclear to me. There is nothing serialized in the session?


Messages In This Thread
CI Session problem - by El Forum - 10-11-2010, 09:13 AM
CI Session problem - by El Forum - 10-11-2010, 11:32 AM
CI Session problem - by El Forum - 10-11-2010, 12:22 PM
CI Session problem - by El Forum - 10-11-2010, 02:01 PM
CI Session problem - by El Forum - 10-11-2010, 02:17 PM
CI Session problem - by El Forum - 10-11-2010, 04:45 PM
CI Session problem - by El Forum - 10-11-2010, 11:41 PM
CI Session problem - by El Forum - 10-12-2010, 08:28 AM
CI Session problem - by El Forum - 10-12-2010, 08:57 AM
CI Session problem - by El Forum - 10-12-2010, 09:16 AM
CI Session problem - by El Forum - 10-12-2010, 11:01 AM



Theme © iAndrew 2016 - Forum software by © MyBB