Print Page | Close Window

Problem with shopping cart

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=3966
Printed Date: 30 March 2026 at 1:12pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Problem with shopping cart
Posted By: mamin
Subject: Problem with shopping cart
Date Posted: 30 June 2003 at 8:46pm

Hello,

I am working on website http://www.toyscamp.com - http://www.toyscamp.com where I am having problem with shopping cart. I have tested with Win 2000 and IE 5.5 and 6.0 and it is working fine but some of our customer is complaining about not able to add any item to there cart. Every time they add item to there shopping cart via our website they are receiving message "Your cart is Empty". I have ask browser information and OS information to those customer who have complained but they are unable to answer even we have offered them Free shipping as a incentive.

Here is the some technical information I am using on our website:

1) We are using Plain ASP Session variable to hold the shopping cart information. I am not using any Coockies to store cart information since I have found session variable is more reliable and easier than the coockies.

Can anybody test my site and tell me if they have differnet OS and browser than the WIN2000 and IE 6.0.

Lately I have activated automated email to send me information about the broweser and OS information from my customer who is receiving this message and I have found following information about their PC:

a) Browser Type = Mozilla/4.0 (compatible; MSIE 6.0; AOL 8.0; Windows NT 5.1)

b) Browser Type = Mozilla/4.0 (compatible; MSIE 5.16; Mac_PowerPC)

c) Browser Type = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Q312461)

d) Browser Type = Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01

e) Browser Type = Mozilla/4.0 (compatible; MSIE 5.5; Windows 98; Win 9x 4.90)

Any help would be greatly apprecited.



-------------
Thanks
mamin



Replies:
Posted By: Gullanian
Date Posted: 01 July 2003 at 12:58am

Im win98 IE6 and it works fine for me.

I think its a problem with their computer........



Posted By: ljamal
Date Posted: 01 July 2003 at 1:03am
It's a cookie problem. Most likely they are not allowing cookies and the site is throwing quite a few at them. Remember session variables are cookies.

-------------
L. Jamal Walton

http://www.ljamal.com/" rel="nofollow - L. Jamal Inc : Web/ Print Design and ASP Programming


Posted By: pmormr
Date Posted: 01 July 2003 at 10:33am

a) Aol Browser 8.0

b) Macintosh Version of Internet explorer 5.16

c) Internet Explorer Version 6

d) Netscape Version 7.01

e) Internet Explorer Version 5.5

That makes no since. It should work if you tested it on Ie 5.5 and 6.0. Try testing on Netscape 7.01, On a macintosh computer, and in aol and see what happens.



-------------
Paul A Morgan

http://www.pmorganphoto.com/" rel="nofollow - http://www.pmorganphoto.com/


Posted By: mamin
Date Posted: 01 July 2003 at 9:35pm

Thank for all your reply.

Yes, It is cookies problem. Now...Anybody has idea on how to overcome with this issue at the same time I can use session variable to store the cart information. I have seen so many other site is fine even if my cookies was disabled.

 

Thanks

mamin

http://www.toyscamp.com - http://www.toyscamp.com

 



-------------
Thanks
mamin


Posted By: ljamal
Date Posted: 01 July 2003 at 9:58pm
You could pass session information in the querystring, but that's not fool proof either.

-------------
L. Jamal Walton

http://www.ljamal.com/" rel="nofollow - L. Jamal Inc : Web/ Print Design and ASP Programming


Posted By: Mart
Date Posted: 03 July 2003 at 2:52pm
set session cookies in a new window maybe a small popup...


Posted By: the boss
Date Posted: 04 July 2003 at 12:37am
it is usless to use sessions to hold shopping cart items.. not only that th\ey r a over head on a server but also a problem that ater certain about of inactivity period the session is cancelled.. most of the novice computer users dont know that they have to manually allow session cookies in IE6.. by default they r disabled..


Posted By: pedalcars
Date Posted: 07 August 2003 at 5:41am
I am hitting this problem too.

In IE (at least in 6), if you disable cookies that's fine, cookies are disabled but the session ID remains throught the session (as you'd expect).

However, in Opera and Netscape 4.7 (and probably others), for some reason as yet unknown, if you disable cookies then you get a new session ID each time you call a new page or refresh the existing one.

This is very bad. I too am developing an application that will primarily use cookies to track and maintain a user's information; however so as to not bar people with cookies disabled, I am using the session ID as a fall-back (albeit with the proviso that users with cookies disabled will be more limited in their idle time, in case the session times out, and will also be in bother if they get disconnected).

However, if the browser gets the server to generate new session IDs when you change pages with cookies off, this rather negates the entire purpose of said fall back!

Does anyone have any ideas as to how to overcome this problem, which seems to be caused by slightly erroneous browser building?

Edit: Mamin, this looks to be exactly your problem - in IE6 I can turn off cookies and your site still works; in Opera if I do this the site tells me I need cookies turned on and it doesn't work.

-------------
http://www.pedalcars.info/ - www.pedalcars.info

The most fun on four wheels



Posted By: pedalcars
Date Posted: 07 August 2003 at 9:14am
Having investigated further, it appears the problem may be that Opera (and presumably netscape) treats the session ID as a session cookie, so if cookies are disabled, no session ID is stored and a new session is started each time.

Not good.

If this is indeed the case, it would appear the only way around it is to write the initial session ID into the querystring; however this creates some new potential problems, as Ljamal suggests.

-------------
http://www.pedalcars.info/ - www.pedalcars.info

The most fun on four wheels



Posted By: pedalcars
Date Posted: 07 August 2003 at 10:36am
More investigation indicates that even if you block all cookies in IE6 and leave the "accept session cookies anyway" box unchecked, IE *still* accepts session cookies! Anyone with the web wiz news app will be able to confirm this as the login requires session cookies, and it works for me even though I did the above before trying to access the news admin.

So, it appears that Opera and Mozilla/Netscape are annoying and do things wrong, while IE lies to you and does things, er, wrong!



-------------
http://www.pedalcars.info/ - www.pedalcars.info

The most fun on four wheels




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net