How about using session??? ----- Original Message ----- From: "Russell P Jones" <[EMAIL PROTECTED]> To: "Matt Palermo" <[EMAIL PROTECTED]> Cc: "'PHP General'" <[EMAIL PROTECTED]> Sent: Tuesday, June 10, 2003 3:11 PM Subject: RE: [PHP] php and flash chat program
> The best way I can see to answer this would be to use the <body > onUnload="function()" in javascript and just have that function run what > you need. You could have php put the screen name into some variable in the > javascript and then onUnload (the user either closes the browser or > changes the page) run the function that tells whatever your delete > username program is to remove that user from the list > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

