Re: Keep alive connection in Delphi 5 (General questions)
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:
- Keep alive connection in Delphi 5 - Michal, 2008-02-04, 15:27
- Re: Keep alive connection in Delphi 5 - woddrazen, 2008-02-04, 15:55
- Re: Keep alive connection in Delphi 5 - Michal, 2008-02-04, 16:19
- Re: Keep alive connection in Delphi 5 - wodDamir, 2008-02-04, 16:47
- Re: Keep alive connection in Delphi 5 - Michal, 2008-02-04, 17:02
- Re: Keep alive connection in Delphi 5 - wodDamir, 2008-02-04, 17:22
- Re: Keep alive connection in Delphi 5 - Michal, 2008-02-04, 17:35
- Re: Keep alive connection in Delphi 5 - wodDamir, 2008-02-04, 17:46
- Re: Keep alive connection in Delphi 5 - Michal, 2008-02-05, 12:04
- Re: Keep alive connection in Delphi 5 - wodDamir, 2008-02-05, 12:15
- Re: Keep alive connection in Delphi 5 - Michal, 2008-02-05, 16:29
- Re: Keep alive connection in Delphi 5 - wodDamir, 2008-02-05, 12:15
- Re: Keep alive connection in Delphi 5 - Michal, 2008-02-05, 12:04
- Re: Keep alive connection in Delphi 5 - wodDamir, 2008-02-04, 17:46
- Re: Keep alive connection in Delphi 5 - Michal, 2008-02-04, 17:35
- Re: Keep alive connection in Delphi 5 - wodDamir, 2008-02-04, 17:22
- Re: Keep alive connection in Delphi 5 - Michal, 2008-02-04, 17:02
- Re: Keep alive connection in Delphi 5 - wodDamir, 2008-02-04, 16:47
- Re: Keep alive connection in Delphi 5 - Michal, 2008-02-04, 16:19
- Re: Keep alive connection in Delphi 5 - woddrazen, 2008-02-04, 15:55