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
Shopping Cart
Moderator: General Moderators
-
GroovyinAz
- Forum Newbie
- Posts: 8
- Joined: Tue Oct 01, 2002 6:26 pm
- Location: Tucson,AZ
Cookies and CC#s
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.
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.