Re: Detecting Browser Closing...
| From: | Kondwani Spike Mkandawire | Date: | Wed, 14 Aug 2002 17:47:41 +0000 |
| Subject: | Re: Detecting Browser Closing... | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-112563@lists.php.net to get a copy of this message | ||
"Chris Boget" <chris@wild.net> wrote in message
news:075f01c243ba$2a9d11b0$8c01a8c0@ENTROPY...
> > Is there a function that can detect if anyone has closed
> > the browser?
>
> Not in PHP. You can using JavaScript, however.
>
> Chris
>
Thanks for the prompt response... Would this mean I would
embedd the Java Script in my php Script and alter the php
variable accordingly... Now I am aware that this is not a
JavaScript Forum and I don't want to have to subscribe to one
for one simple Q which I will probably never have use for again
but how would I detect this via Java Script and then embed change
back to php mode (if that's possible)?
Folks please non of the smart 'This is not a JavaScript group!"
I am aware of that but there should be someone who knows how
to use php and Java Script hand in hand... I don't want to have to
convert a PHP variable to and HTML variable then to JavaScript
then back to HTML then to PHP...
Thanks in advance...