Frank,
You can start off by taking a look at the HttpClient cookie guide and redirect guide
http://jakarta.apache.org/commons/httpclient/cookies.html
http://jakarta.apache.org/commons/httpclient/redirects.html

If you happen to have any specific questions regarding HTTP cookies or redirect 
handling do not hesitate to ask

Sample code can be found here

http://cvs.apache.org/viewcvs.cgi/jakarta-commons/httpclient/src/examples/?only_with_tag=HTTPCLIENT_2_0_BRANCH

Oleg

-----Original Message-----
From: Min (Frank) Ni [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 05, 2004 0:07
To: Commons HttpClient Project; [EMAIL PROTECTED]
Subject: RE: Yahoo login with Httpclient


I think I am just not familar with HttpClient enough to handle the cookies and 
redirects, would you be kind enough to show me some sample code ? Thanks.

Frank

-----Original Message-----
From: Oleg Kalnichevski [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 04, 2004 5:48 PM
To: Commons HttpClient Project
Subject: RE: Yahoo login with Httpclient


Frank,
I thought the problem had been resolved. What's wrong with taking
MrPostman's code as a starting point and implementing the same thing
using HttpClient?

Oleg

On Tue, 2004-05-04 at 23:41, Min (Frank) Ni wrote:
> Any luck in trying to get a page after logging into Yahoo with HttpClient ?
>
> Frank
>
> -----Original Message-----
> From: Michael Becke [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 29, 2004 12:35 AM
> To: Commons HttpClient Project
> Subject: Re: Yahoo login with Httpclient
>
>
> Well, I've tried a variety of things, but I cannot successfully login
> to yahoo.  Attached is the code that I've been using.  It includes two
> methods, one to simulate logging in from a browser with JavaScript
> turned off, and another to simulate with JS on.  Perhaps someone else
> can figure it out from here.
>
> Mike
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


***************************************************************************************************
The information in this email is confidential and may be legally privileged.  Access 
to this email by anyone other than the intended addressee is unauthorized.  If you are 
not the intended recipient of this message, any review, disclosure, copying, 
distribution, retention, or any action taken or omitted to be taken in reliance on it 
is prohibited and may be unlawful.  If you are not the intended recipient, please 
reply to or forward a copy of this message to the sender and delete the message, any 
attachments, and any copies thereof from your system.
***************************************************************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to