Re: Keep alive connection in Delphi 5 - WeOnlyDo Discussion board

Re: Keep alive connection in Delphi 5 (General questions)

by woddrazen, Monday, February 04, 2008, 15:55 (6137 days ago) @ Michal

Hi Michal,


You need to use Post Method to post something to server. So you should use your first example with Get and put Post after Get line. That should work without worry that wodHttpDLX will disconnect from server and will not be able to communicate any more.

KeepAlive is be default set to Automatic and you probably don't need to change it's value.

To see what is received, you can use HttpRespone Body Property.

More help for HttpResponse Body Property you can find here:
http://www.weonlydo.com/HttpDLX/Help/wodHttpDLXLib~HttpResponse~Body.html

wodHttpDLX Connect Method is Delphi is change to Connect1 because Delphi uses Connect for some internal operation.

You are using wod1 and wodHttp1 wodHttpDLX reference. You need to use just one reference because this is two different object and they cannot work together as one.

Let us know how it goes.


Regards,
Drazen


Complete thread: