[PHP] Delete on exit

2002-01-09 Thread Ryan Kelley
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

Re: [PHP] Delete on exit

2002-01-09 Thread Mehmet Kamil ERISEN
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

Re: [PHP] Delete on exit

2002-01-09 Thread Ryan Kelley
Exactly how would i do that. I am new to cookies. Please advise. Ryan Kelley Mehmet Kamil Erisen [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, You can store all shopping cart activites in a cookie until it is written to your database. When they login,

RE: [PHP] Delete on exit

2002-01-09 Thread Martin Towell
http://www.php.net/manual/en/function.setcookie.php -Original Message- From: Ryan Kelley [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 10, 2002 12:34 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Delete on exit Exactly how would i do that. I am new to cookies. Please advise. Ryan