I'm creating a shopping cart web app using perl and mysql. I want it to be like most other carts on the web where users can click on items to add them to their cart. I want these items to be in their cart only for the lenght of their current session. What's the best way to do this. I know I can just store the items in their cart as cookies but I also read that I could instead just store a unique session id for them as a cookie and store their items in the database. I think I could do the cookie method but how would I go about implementing session id's? Specifically, how would I create them uniquely and how would I know when their sesssion's over so I could delete their items from the database?
Kevin
A+, Network+, MCP
Kevin
A+, Network+, MCP