Justtechjobs.com Find a programming school near you






Online Campus Both


php-db | 2001051

Re: [PHP-DB] Newbie question From: CC Zona (cczona <email protected>)
Date: 05/03/01

In article <034101c0d3f3$0dd747e0$41041dd8 <email protected>>,
 bd <email protected> ("~BD~") wrote:

> at the end of my script, I run a set of closing and clean-up procedures..
> what I would like to be able to do is that when a user bails out of the
> script by closing the browser or leaving the site/page, detect that they've
> gone, and then go ahead and run my closing procedures.. is this possible?

http://php.net/manual/en/features.connection-handling.php
http://php.net/register-shutdown-function

-- 
CC

-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>