Simply, sessions. Look on php.net for some tutorials about sessions, that's
what you're gonna need. You could do it simply by setting cookies in the
users browser, but sessions work better. As I understand it, sessions also
set a cookie in your browser, but only one which identifies the owner of the
session. If the user had cookies disabled, then php would default to
appending the session information to the url's (basically avoiding the
problem). You'll probably find a lot of info on www.php.net about this
though.
----- Original Message -----
From: "Matt Braynard" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 10, 2001 12:17 PM
Subject: [PHP-DB] Building a Shopping Cart
> I'm trying to build a shopping cart and am unsure of how to track what
each
> visitor has purchased as they shop. How do I track what items they add as
> they move through the online catalog adding things and then checkout.
>
>
----------------------------------------------------------------------------
----
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]