By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,237 Members | 1,228 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,237 IT Pros & Developers. It's quick & easy.

losing the shopping cart while closing IE browser

P: 1
I am having an issue my application. If the user loads the shopping cart and then closes IE browser and then open new window not able to see shopping cart information. in our application shopping cart information will be stored in Session.

This issue is working fine in all browsers except IE7,IE8 and IE9

Could you please provide any solution.
Apr 30 '13 #1
Share this Question
Share on Google+
2 Replies


Atli
Expert 5K+
P: 5,058
I've not worked with Java websites much, but a "session" is typically destroyed when the browser is closed. If your cart info is only stored in such a session, it really shouldn't persist after a browser is closed and reopened. That the other browsers are restoring the cart info would indicate that some other method is being used to restore the session, and that is probably the thing that is failing in IE.

I'd guess that a permanent cookie is being used instead of a normal session cookie, or a normal cookie is being used with the normal session stuff. - But then, I don't know how the Java website stuff works. Perhaps there is some built in option to keep session alive even after a browser is closed?
Apr 30 '13 #2

P: 31
Hi ! you face problem because of session when you close browser your session expires so you should can use cookie.
Apr 30 '13 #3

Post your reply

Sign in to post your reply or Sign up for a free account.