TXDataServer Detect disconnect


In the XData Server how can I detect when TTXDataWebConnection has been dropped in Web Core?



What do you mean by "dropped"? Note that XData is a stateless server, there is no connection being keep between the client and server besides during the processing of the request.

I meant setting Connected to false. I guess I'm going to have to implement my own mechanism.

Yes. Setting Connected to False does not do any communication with server.

Thanks. My users can login and later logout which puts them back to the login screen. When they do this, is there any point me setting the connection to false then?

No. "Connected" just means that the TXDataWebConnection component was able to retrieve the server model thus it knows all the endpoints and services available.

Setting Connected property to false just discards such meta information so that it will be retrieved again when it's connected again.