I guess any book gives out pieces which we are supposed to put together. That is the aim of learning IMO.
No one can construct a building or make a car holding a book in their hand.
Now back to your problem in this thread.
Shahid Kahn wrote:I mean if i added 4 items first and other person adds 2 items, second person sees 6 products in his cart. Where am I going wrong?
Here, the "two different" people are from
your perspective. The application is not seeing them as different. Which means your session is either not created or destroyed properly.
Mostly I would say the creation part. Are you seeing the same behavior if you try two different browsers?