Rick,

How does this deal with the public computer. Seem like what the same thing I
am doing.


on 5/11/06 9:07, Rick Sanders at [EMAIL PROTECTED] wrote:

> I've done this before.
> 
> I assign the userreferenceargument to a cookie. I then save that
> userreferenceargument to the database with the cart items.
> 
> When the user comes back, I verify the cookie against the database.
> 
> Hope this helps!
>  
> Rick Sanders 
> 902-401-7689
> www.webenergy-sw.com
> 
> 
> -----Original Message-----
> From: Dan Stein [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 11, 2006 9:53 AM
> To: [email protected]
> Subject: Witango-Talk: Cart Conundrum
> 
> 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 

'I wonder why we say that people are of different "races". It seems to me,
we're all running at the same speed and heading towards the same
destination. The only "winners" are the ones who've made the world a better
place for having been here.'
>From for Better or Worse 2/28/2006




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

Reply via email to