There are several ways to achieve this.
The easiest is if you authenticate using Basic authentication, then HTTP (and HTTPS) support authentication through the URL in the form http://username:
password@www.domain.com Another option is to use certificate authentication, but if you have no control over the server this will not be possible.
If you are using form-based authentication you will probably need to write a class to manage the interaction for you. You can get APIs to manage the HTTPS communication and you only need to worry about implementing enough HTTP to send the login request, receive the session id, then send the session id with the processing data in a second request.
Unless I've completely misunderstood the question...
Dave
[ May 19, 2004: Message edited by: David O'Meara ]