> Thanks for the prompt response... Would this mean I would > embedd the Java Script in my php Script and alter the php > variable accordingly...
No, because JS is client side and PHP is server side. What you would need to do is have JS detect when the browser closed and make one last server request and whatever page you go to with that would do whatever you needed done. That means you'd have to open up another browser instance on the user's machine and that might really annoy said user. Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php