Of course, now you have to deal with putting inventory back on the shelf when the session expires....and you have no way of knowing when that would happen unless you're storing *something*.

Chris W. Parker wrote:

Justin French <mailto:[EMAIL PROTECTED]>
    on Thursday, December 04, 2003 2:48 PM said:


Rather than storing the shopping cart in a DB, store the cart in the
session.  When the session dies, so does the cart.
When/if they choose to save it, it THEN gets ported into a database.


Aaahhhhh...! This makes sense.



Thanks,
Chris.
--
Don't like reformatting your Outlook replies? Now there's relief!
http://home.in.tum.de/~jain/software/outlook-quotefix/

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to