This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes I/O and Streams and the fly likes HttpURLConnection or URLConnection to login in to sites Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "HttpURLConnection or URLConnection to login in to sites" Watch "HttpURLConnection or URLConnection to login in to sites" New topic
Author

HttpURLConnection or URLConnection to login in to sites

R Johnson
Greenhorn

Joined: Jan 05, 2010
Posts: 28

Yahoo does not require post to login to their site this link in a browser will log in https://login.yahoo.com/config/login?login=user&passwd=password. So with the following code and many variations of this code using different type of cookie catchers I've been trying to login:



I've used this method maps and I've used my own CookieManager I can get neither one to work. if someone will just show me an example of how to login to something and stay logged in that would be great. Even if it's a different site that's what tutorials do they show you code that works and then you can use it for your own means it's not about doing the work for me.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HttpURLConnection or URLConnection to login in to sites