posted 20 years ago
Hi Hu Rui,
What you said is right, but is still my problem. You go to supermarket, put something in your shopping cart, nobody can take it from you if you want to check it out. but this is not the case for most online session "shopping cart". You can persist it to DB(then the session "shopping cart" may not required), but you have to clear up some uncheck-outed with some condition, say 1 hour, and within the 1 hour, nobody can touch it and the system may lose business opportunities to sale it to other person. and for online senario, many people may just want a try or any other reason to put something in their shopping cart without check-out and left their browser open and leave for long long time...I know most people using the first solution, but the potential risk is there, there are also some cons for sulotion 2.