Re: Building a Shopping Cart
| From: | Dime | Date: | Tue, 10 Apr 2001 21:30:27 +0000 |
| Subject: | Re: Building a Shopping Cart | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-8458@lists.php.net to get a copy of this message | ||
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" <mbraynard@atlantech.net>
To: <php-db@lists.php.net>
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: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net