title: How to login to the website and use the login connection to parse another pages
body: <p>I am trying the following: </p>
  
  <pre><code>Connection.Response res = Jsoup.connect("http://www.nordicnet.se/Login.aspx?height=408&amp;width=490&amp;mode=1").userAgent("Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.21 (KHTML, like Gecko) Chrome/19.0.1042.0 Safari/535.21").data("tbUserName", "username", "tbPassword", "password").method(Method.POST).execute();
  System.out.println(res.toString());
  String sessionId = res.cookie("cook");
  System.out.println("Session Id"+sessionId);
  Document doc;
  doc = Jsoup.connect("http://www.nordicnet.se/foretag/Viafin-Process-Piping-AB/1248169/").cookie("cook", sessionId).timeout(10*1000).get();
  </code></pre>
  
  <p>However, I am unable to create a login session and use the same connection to parse another page.</p>