Hi Francios, Which version of HttpCli had this FollowRelocation property? Currently the HttpProt 1.47.
Regards KL Chin -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Francois Piette Sent: Wednesday, July 20, 2005 3:11 PM To: ICS support mailing Subject: Re: [twsocket] How to stop location change for the HttpCli > Basically I would like to stop the HttpCli proceed to next/redirect > location Use FollowRelocation property. Set it to FALSE. -- [EMAIL PROTECTED] Author of ICS (Internet Component Suite, freeware) Author of MidWare (Multi-tier framework, freeware) http://www.overbyte.be ----- Original Message ----- From: "KL Chin" <[EMAIL PROTECTED]> To: "ICS support mailing" <twsocket@elists.org> Sent: Wednesday, July 20, 2005 8:47 AM Subject: [twsocket] How to stop location change for the HttpCli > Hi Everyone, > > Could someone assist me on this requirement. > > Basically I would like to stop the HttpCli proceed to next/redirect > location, when > it received the very first request. Because the first received data more > meaningful > for me. > > Knowing that by using FOnLocationChange, I can copy the FRcvdHeader data, > but > it require more time to complete the 1 complete transaction. > > procedure THttpCli.GetHeaderLineNext; > ... > ... > if FLastResponse = '' then begin > if FLocationFlag then begin > TriggerHeaderEnd; > FReceiveLen := 0; > FHeaderLineCount := 0; > FBodyLineCount := 0; > FCtrlSocket.OnSessionClosed := LocationSessionClosed; > FCtrlSocket.Close; > Exit; > ... > .... > > Thx in advance. > > Regards > KL Chin > > -- > 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 > -- 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 -- 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