Hi,
You can store all shopping cart activites in a cookie until
it is written to your database. 
When they login, call the cookie and insert the cookie SC
to the database....
 

--- Ryan Kelley <[EMAIL PROTECTED]> wrote:
> I am writing an online store and  have setup sessions to
> run when a user
> enters the site they can shop around and browse without
> logging in. They
> only have to login when the want to checkout. But if a
> user a) closes the
> browser or b)leaves the site without buying anything then
> i need it to empty
> their cart.
> 
> Any ideas?
> 
> Thanks,
> 
> Ryan Kelley
> 
> 
> 
> -- 
> PHP General 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]
> 


=====
Mehmet Erisen
http://www.erisen.com

__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

-- 
PHP General 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]

Reply via email to