I am trying to create a bit of code, in PHP, which allows customers to:
1. Add products to a shopping cart where they can then proceed to checkout (the ordered products are stored in an orders table of the database).
2. Add products to a product list where they can then request a quote (All quote requests are stored in a quote request table).
Ques: Should I use one session for both the ‘shopping cart’ and the ‘product list’ or should I use one session for each? That is, one for the shopping cart and a separate session for the product list?
Finally can you do so providing an example?