[twsocket] TGpHTTPProxy and Banner in footer

2006-01-21 Thread scanctrl
Hello , I use the component TGpHTTPProxy (based TWSocketServer) and I will wish to know if it is possible to force sends it of an additional code HTML to the Web pages to consult (like Banner but at the foot of the page or Header HTTP) thank you for your assistance PS: Sorry for my

Re: [twsocket] TGpHTTPProxy and Banner in footer

2006-01-21 Thread scanctrl
Hello Francois, TGpHTTPProxy do not use Banner, is set only a blank. Banner is send to StartConnection (ICS) on Header HTTP : /* WSocketS.pas, TWSocketClient */ procedure TWSocketClient.StartConnection; begin if Length(FBanner) 0 then SendStr(FBanner + FLineEnd); end; is this

Re: [twsocket] TGpHTTPProxy and Banner in footer

2006-01-21 Thread scanctrl
Re: Ok, howto place my code to analyze the HTML ? and how to make to send my additional string to browser ? Thanks FP Defenitely not. FP Somehow you have to scan the data passing thru the proxy, find out where FP HTML documents are, parse the HTML to search for the end (that is /BODY FP tag),

Re: [twsocket] TGpHTTPProxy and Banner in footer

2006-01-21 Thread scanctrl
Hello Francois, Good, I found procedure and modified for detect '/body' and send my string :) (en fran├žais : sa fonctionne) Thank's All ! Saturday, January 21, 2006, 12:50:55 PM, you wrote: Ok, howto place my code to analyze the HTML ? and how to make to send my additional string to browser