PHP does not do that automatically, you have to write the code yourself. The
steps to achieve this are as follows:
(1) Write session data to a database, not to a disk file.
(2) Set the garbage collection to occur at whatever interval you like (10
mins, 60 mins, whatever)
(3) As part of this garbage collection look for entries in the shopping cart
and take whatever action is required.
--
Tony Marston
http://www.tonymarston.net
"themhz" <th****@gmail-dot-com.no-spam.invalid> wrote in message
news:jX*******************@news.sisna.com...
Well Colin McKinnon perhaps someone out there has used asp 3.0 and
php.
So probably he knows some common things between asp and php.
when a user ads some things in a shoping cart you probably store this
information in a database.
what happends if the user closes the browser?
Asp has global.asa, so when the session times out you can work with an
event and delete this temporary information in your database.
So the question is: How does php do that?
http://eye.cc -php- web design