Cart Conundrum
 
I am building a cart system for a client who wants people to be able to add
items to a cart and have the cart saved even if they don¹t login. To buy
anything they ultimately will have to sign up and be logged in.
 
We came up with this bit of logic, which works well to a point
 
When they come to a site we set a visitor ID cookie and then as they add
things to their cart we insert that visitor ID. Once they log in we loop
through any cart items with that visitor ID and add in their customer ID.
 
So now they come back but from a different browser. There is not much we can
do here. They get assigned another visitor ID and the cart is empty. But as
soon as they log in we are able to add their customer ID and reset the visor
ID cookie to match the other browser so now we have consolidated their cart.
 
This works really nicely.
 
But, as I thought about the users and what they might do. I realized this
would fail or at least get really confused if the user logs in from a public
computer like a library.
 
So I need to rethink this and I wonder how other people are handling this.
 
I am open and interested in hearing peoples thoughts and how they deal with
this issue.
 
It seems it would make a useful thread.

-- 
Dan Stein
FileMaker 7 Certified Developer
Digital Software Solutions
799 Evergreen Circle
Telford PA 18969
Land: 215-799-0192
Cell: 610-256-2843
Fax 413-410-9682
FMP, WiTango, EDI,SQL 2000, MySQL, CWP
[EMAIL PROTECTED]
www.dss-db.com 

"The love of one's country is a splendid thing. But why should love stop at
the border? "                                             

Pablo Casals



________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to