Hello, You can put it in the Tag property if you cast it to an integer. Later in OnDocDone or whatever you restore it back by typecasting to THttpConnection. Dont forget to make it null when the connection is gone.
--- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz Saturday, July 29, 2006, 21:11, JohnW wrote: > Inside a THttpServer.OnGetDocument event, I have been using several THttpCli > objects sucessfully for quite a while using Get. As my data returned is > growing every month, i would like to start using GetAsync. > The problem i have is, my data is returned in THttpCli.OnDocDone & i am > unable to access THttpConnection from there to pass the response stream back > to the original requesting client connection. Is there a way round this? -- 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