I am starting to develop a multi store shopping cart in php where every user will have a shopping cart under different stores. I would like to know what is the better way to save the shopping cart details like products name, id, price etc, when a user clicks on "Add to Cart". I think we can save it in two ways : a) Session b) Db Table.
Which is the better method to save all these information ? I want to make it as secure as it can be.
Please suggest.
Thanks