This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HttpURLConnection or URLConnection to login in to sites

 
R Johnson
Greenhorn
Posts: 28
Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic