I use a web service, so I want to use an asynchronous thread to request HTTP authentication, and another thread later to make additional service requests while my main thread is running.
I would like to see a good example of how to do this and how to show downloaded messages in some way in the main application. How does the main application know when the thread is completed? And what if my thread encounters exceptions, how can I handle this?
HTTP requests are sent later, use the same cookie settings with the first auth request, so that subsequent requests will receive the same cookies and just work?
Eno
source share