I am doing shopping cart for my website
Storing purchase information in session
Storing purchase information in table.
Which is better solution? If I store it in table how and when will i delete the records in the table (i.e when not purchased by user but in table)