Hi,
I am creating an e-commerce website for my project. I completed most of it, but confused about one topic. How can I keep current shopping-cart data of user?
I think that if I created a table in database and shopping cart items are kept in that table until order finishes. Then, I can delete that item from the shopping cart table. In this case, if the user quits without giving order and enters the site later, his shopping cart will not be lost and he will continue his shopping.
Is this a good programming way(I mean efficent) or should I use something like memcache?
Thanks,