Magento shopping cart empty error
I am facing an issue in the magento website that whenever am trying to add anything to the cart first time when i open the browser , it shows shopping cart is empty. bit if again i add to cart the product then it goes added.
After investigating the issue it happens only suppose when i closed the browser and then all cookies got deleted automatically from browser. Then i open browser again with no cookies present, it is showing me that error of shopping cart empty. but if i keep the browser open and again try to add to cart the product from second time, then it works fine.
I have tried to increase the collie liefetime from 3600 to 604800000. It did not work. I have tried to put the value 0 also there so that cookies delete automatically on browser closed. I have tried to add cookie path to / , cookie domain to domain name , Validate HTTP user agent to yes. I have checked the server time also correct by putting a script on the website root to check it. I have tried everything whatever i got in threads of magento for the issue am getting.
So if anyone have tried anything else which i have not tried and which can really solve my issue. It will be thankful. So please reply here and let me know , am fed up from solving this issue