Ok I learned that if you want to make a shopping cart, you should generate a session ID for that user that comes to your shopping cart. When he/she adds a product to the shopping cart, then store that session ID in a cookie then store that cookie on there computer, while the added products will be stored in the database with there session ID stored as well so when the user even turns off there computer, come back and there products are still stored in there shopping cart which is awesome. My question is how can I make it so if the user decides not to come back in like a month time, then delete there products off the database?