François: Sorry, it was my fault - the event was OnHttpRequestDone, not OnRequestDone. If I don't add the line, the code runs fine (it shows the entire page, there is no problem in this), but the connection remains open - the progress bar in IE 6 remains there and you see a connection open in the server. If you wish, I can send you a screenshot to show you what happens here. If I add the code, the connection is closed, but some clients experience problems.
I am running last version, the server window shows: WebServ (c) 1999-2005 F. Piette V1.09 Using: TWSocket (c) 1996-2005 Francois Piette V5.16 TWSocketServer (c) 1999-2005 F. Piette V5.02 THttpServer (c) 1999-2005 F. Piette V1.33 Winsock: Version 2.2 WinSock 2.0 Running Bruno On 21/5/2005 13:26:11, Francois PIETTE ([EMAIL PROTECTED]) wrote: > > ClientCnx.OnRequestDone := RequestDone; > > You can't heve this line. It doesn't even compile with it. > I have remived it from your source, put your source into WebServ demo and > it > works perfectly using IE 6 as client. > > Are you really using latest ICS version ? > > -- > [EMAIL PROTECTED] > http://www.overbyte.be > > > ----- Original Message ----- > From: "Bruno Sonnino" <[EMAIL PROTECTED]> > To: "'ICS support mailing'" <twsocket@elists.org> > Sent: Saturday, May 21, 2005 11:18 AM > Subject: RE: [twsocket] Connection not closed in WebServer with IE > > > > François: > > > > I tried to close the connection using the event OnRequestDone, this > closed > > the connection ok, but in some clients, the page > wasn't even shown, any > hint > > on what could be happening? > > > > procedure TWebServForm.CreateVirtualDocument_Time( > > Sender : TObject; { HTTP server > } > > ClientCnx : TMyHttpConnection; { Client connection issuing > mand } > > var Flags : THttpGetFlag); { Tells what HTTP server has to do > next} > > va -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be