Just experienced a weird thing. Using same browser, operating system and loading same website in two different computers results in the same session - so when the computer A is adding to cart, computer B can refresh the page and see the item added in cart.
What is causing this and how can this be prevented? Is this on a higher layer than PHP? Maybe a server configuration?
The website is using PHP sessions.
PHP session ID is not unique have collisions on high traffic websites.
To overcome this you can keep track of session ID's: