Pipe broken
| From: | Benja | Date: | Fri, 28 Mar 2003 12:59:42 +0000 |
| Subject: | Pipe broken | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-141433@lists.php.net to get a copy of this message | ||
Hi all,
is it possible to know in PHP if the client hit the stop button or close the
browser ?
Here is what I read on a forum :
----------------
> I was told you cannot when I asked 'way back when.
>
> When the user hits stop, the pipe is broken.
> Apache will attempt to spit out some more data, and will "notice" the pipe
> is broken, and will stop.
> But Apache doesn't inform PHP that the pipe broke.
>
> At least that's my vague recollection of what goes on.
More or less correct. Hopefully we will have this resolved soon.
-Rasmus
----------------
But it was in 1999 ! Is it possible to do it now ?
Thanks for your help,
Benja.
--
Benjamin Fonzé - benjamin.fonze@electronic-group.com
WEB DEVELOPER
_________________________________________________________
ELECTRONIC GROUP INTERACTIVE - www.electronic-group.com
World Trade Center, Moll de BARCELONA
Edificio Norte 4 Planta
08039 BARCELONA SPAIN
Tel : +34 93600 23 23 Fax : +34 93600 23 10
_________________________________________________________