On Wed, 20 Aug 2008, Kristina Anderson wrote:

> John -- store the cart items in the $_SESSION array and only write to 
> the database when they check out?

Sure, that would work.

Or store using a database table temporary session data (some PHP 
frameworks have support for that and have the added advantage of working 
across a cluster of servers).

You dont need to reinvent the wheel.


-- 
Aj.

_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Reply via email to