Hi,
I enable the debug in server side and test my application. I got the error message when close the application in client side. How to solve it?
Hi,
What protocol are you using - http(s)://, tcp(s) or supertcp(s)?
Hi,
It is using TROIndyHTTPServer. I’m using your demo for my application
Hi,
try to play with Client/Server.KeepAlive .
By default, our samples use TROIndyHTTPServer
and TROWinInetHTTPChannel
so try to use Indy on both sides, i.e. TROIndyHTTPServer
vs TROIndyHTTPChannel
.
another way - change Indy HTTP server with other HTTP plain servers.
Hi,
My application is already set KeepAlive to True. I tried to replace TROIndyHTTPChannel. The result is the same error.
Hi,
try to set KeepAlive to False
Hi,
It’s OK if set KeepAlive to False. But how to reconnect the session if session is lost suddenly?
Hi,
This case is handled by client-side automatically.
Check Channel.OnLoginNeeded event.
Noted with thanks.