Page 2 of 2

Shopping Cart Solution

Posted: Fri Sep 06, 2002 6:18 am
by Nargule
I have found a solution for my shopping cart.

I am still storing all the item info in the mySQL db but instead of using the ip address, I am generating a unique code and storing it in a cookie. The cookie is stored for 40 days so all the items in the cart are saved if the user leaves and then comes later.

If anyone has any other comments please let me know.

Thanks for your help.

Tom

Cookies and CC#s

Posted: Thu Oct 03, 2002 9:21 am
by GroovyinAz
Off Topic Slightly:

IE comes out of the box "resistant" to cookies. The n00b that gets that warning for the first time may not understand enabling cookies or selectively allowing 1st party cookies and not 3rd party cookies. And, since research shows that IE is the most commonly used browser, then it is fair to say that coding for the inevitable cookieless interaction is the way to go, even if it's conditional.