Welcome Guest, Not a member yet? Register   Sign In
Saving CI session/cart data for an account?
#2

[eluser]darrentaytay[/eluser]
There's no reason why you can't. Do something like, everytime a user adds to a cart, make/edit a record in the database which is the current cart serialized.

When the user logs in, check your database to see if he has a cart stored and chuck it back into the session.


Messages In This Thread
Saving CI session/cart data for an account? - by El Forum - 05-05-2011, 06:36 AM
Saving CI session/cart data for an account? - by El Forum - 05-05-2011, 07:21 AM
Saving CI session/cart data for an account? - by El Forum - 05-05-2011, 05:02 PM
Saving CI session/cart data for an account? - by El Forum - 05-06-2011, 12:39 AM
Saving CI session/cart data for an account? - by El Forum - 05-08-2011, 06:46 PM
Saving CI session/cart data for an account? - by El Forum - 05-09-2011, 12:43 AM
Saving CI session/cart data for an account? - by El Forum - 05-09-2011, 07:57 PM
Saving CI session/cart data for an account? - by El Forum - 05-10-2011, 02:11 AM
Saving CI session/cart data for an account? - by El Forum - 05-10-2011, 10:00 PM



Theme © iAndrew 2016 - Forum software by © MyBB