Hi
We currently have a site with a shopping basket which is stored in a datatable for each session.
However, customers (and I) don't like that the basket clears after your session ends.
So what options do I have?
I could give the user a unique ID, if they have cookies enabled I can store their ID in a cookie and then add all baskets to our SQL Server database, which has its benefits as it simpifies my coding especially when it comes to pricing updates and the checkout. I could then see how much impact there is and decide how long to keep the basket alive in the DB.
Any suggestions would be much appreciated?
Thanks B
We currently have a site with a shopping basket which is stored in a datatable for each session.
However, customers (and I) don't like that the basket clears after your session ends.
So what options do I have?
I could give the user a unique ID, if they have cookies enabled I can store their ID in a cookie and then add all baskets to our SQL Server database, which has its benefits as it simpifies my coding especially when it comes to pricing updates and the checkout. I could then see how much impact there is and decide how long to keep the basket alive in the DB.
Any suggestions would be much appreciated?
Thanks B