I think the only way to deal with public, if you are saving session
info, is to have a checkbox, to verify they want the data to be
saved, so they can opt not to if on a public computer. Cuz there is
no way you can check on your end if it is or not.
--
Robert Garcia
President - BigHead Technology
VP Application Development - eventpix.com
13653 West Park Dr
Magalia, Ca 95954
ph: 530.645.4040 x222 fax: 530.645.4040
[EMAIL PROTECTED] - [EMAIL PROTECTED]
http://bighead.net/ - http://eventpix.com/
On May 11, 2006, at 7:58 AM, Dan Stein wrote:
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
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf