Re: Re: Drop connection, keep running?

From: Date: Sat, 29 Jun 2002 00:31:01 +0000
Subject: Re: Re: Drop connection, keep running?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-104447@lists.php.net to get a copy of this message
No, this has nothing to do with it. As far as I know there is no way to force the web server to drop a client connection. For keep-alive cases (ie. you have set the content-length) then the client will go do something else when it has received the given number of bytes. But for normal "Connection: close" connections, the remote web browser sits around and waits for the server to shut down the socket connection. Most web servers do not provide an api hook for this. -Rasmus On Fri, 28 Jun 2002, John Wulff wrote: > int ignore_user_abort([bool ignore]) > > "Lee Daniel Crocker" <lee@piclab.com> wrote in message > news:20020628233050.GA7016@piclab.com... > > > > I'm surprized I can't find a description of how to do what seems > > like an obvious thing to me: I want to have my script send output > > to the user, then drop the connection, and then continue doing > > stuff that the user shouldn't have to wait for. There's lots of > > documentation about what to do when the user drops, but no mention > > of how to make the server drop it but keep running the script. > > > > -- > > Lee Daniel Crocker <lee@piclab.com> > > <http://www.piclab.com/lee/> > > "All inventions or works of authorship original to me, herein and past, > > are placed irrevocably in the public domain, and may be used or modified > > for any purpose, without permission, attribution, or notification."--LDC > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#104447) next »