Re: Anything that is changed when the browser is closed
| From: | CPT John W. Holmes | Date: | Fri, 28 Mar 2003 15:11:46 +0000 |
| Subject: | Re: Anything that is changed when the browser is closed | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-141448@lists.php.net to get a copy of this message | ||
While your script is running, you can use connection_aborted() to see if the
user has clicked the stop button or closed the window. After your script
finishes, though, then you have no way of knowing unless you use a session
cookie, which will be destroyed when the browser is closed.
---John Holmes...
----- Original Message -----
From: "Haseeb Iqbal" <webcodder@hotmail.com>
To: "PHP General list" <php-general@lists.php.net>
Sent: Friday, March 28, 2003 8:46 PM
Subject: [PHP] Anything that is changed when the browser is closed
hi,
just wanna know if there is anything in php that can be used (besides
sessions) to get anything from the $_SERVER that is unique and gets changed
each time we close the browser. anything at all to check if the user has
closed the browser.
regards
Haseeb