RE: [PHP] how to determine if shopping cart has been abandoned?
| From: | Jay Blanchard | Date: | Fri, 05 Dec 2003 12:38:19 +0000 |
| Subject: | RE: [PHP] how to determine if shopping cart has been abandoned? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-171972@lists.php.net to get a copy of this message | ||
[snip]
> 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*.
A good point, if that's the way he wants to do things...
In which case, SC needs to be stored SOMEWHERE (DB), and a cron job
garbage cleanout could take place every 1/15/30/60 minutes to remove
SC's without matching sessions, or something similar.
[/snip]
How about a session identified limbo table?