Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
Hi, In my application,I am parsing the web page for the specifyied data and process it. I need to automate the login process by passing user and password parameters to other webserver through https. So that it can automatically log in and generate the page which will be parsed by my application, process it. How can I achive this? Any iead?
The easiest is if you authenticate using Basic authentication, then HTTP (and HTTPS) support authentication through the URL in the form http://username:firstname.lastname@example.org
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 ]