Hi all
I have a table which maintain the shopping cart contents...While the user shopping, Which is efficient
1-commit a selected product (with the quatity...etc,) to the database directly..
2-keep the cart details in a session object (like an arraylist)..and commit it into the database at the checkout phase??
thanks
Hello, well going to database each time an item is added is no good in terms of performance.regards
0 comments:
Post a Comment