Shopping Cart Issue

When I add a product to the shopping cart, It doesn't show up in the shopping cart unless you refresh the page.