title: Jsoup Cookies for HTTPS scraping
body: <p>I am experimenting with this site to gather my username on the welcome page to learn Jsoup and Android.  Using the following code</p>
  
  <pre><code>Connection.Response res = Jsoup.connect("http://www.mikeportnoy.com/forum/login.aspx")
      .data("ctl00$ContentPlaceHolder1$ctl00$Login1$UserName", "username", "ctl00$ContentPlaceHolder1$ctl00$Login1$Password", "password")
      .method(Method.POST)
      .execute();
  String sessionId = res.cookie(".ASPXAUTH");
  
  Document doc2 = Jsoup.connect("http://www.mikeportnoy.com/forum/default.aspx")
  .cookie(".ASPXAUTH", sessionId)
  .get();
  </code></pre>
  
  <p>My cookie (.ASPXAUTH) always ends up NULL.  If I delete this cookie in a webbrowser, I lose my connection.  So I am sure it is the correct cookie.  In addition, if I change the code</p>
  
  <pre><code>.cookie(".ASPXAUTH", "jkaldfjjfasldjf")  Using the correct values of course
  </code></pre>
  
  <p>I am able to scrape my login name from this page.  This also makes me think I have the correct cookie.  So, how come my cookie comes up Null?  Are my username and password name fields incorrect?  Something else?  </p>
  
  <p>Thanks.</p>