title: jsoup record logged
body: <p>I have a website.</p>
  
  <p>Can see inside the contents must be logged in.</p>
  
  <p>However, I use this code to log on.</p>
  
  <pre><code>doc = Jsoup.connect("http://46.137.207.181/Account/Login.aspx")
                    .data("ctl00$MainContent$LoginUser$UserName", "1234")
                    .data("ctl00$MainContent$LoginUser$Password", "123456")
                    .data("__VIEWSTATE","/wEPDwULLTEyMDAyNTY1NjJkGAEFHl9fQ29udHJvbHNSZXF1aXJlUG9zdEJhY2tLZXlfXxYBBSZjdGwwMCRNYWluQ29udGVudCRMb2dpblVzZXIkUmVtZW1iZXJNZUHk9FMvtsvPHqlP3vAV+1oloaxe4Asr7RQX5XFptqGz")
                    .data("__EVENTVALIDATION","/wEWBQLup8mjCgLFyvjkDwLQzbOWAgKVu47QDwKnwKnjBTL6Xsxc9zQnY8p9KVlFJ/8HIHqlOGl9uClF4ktcWYJ5")
                    .data("ctl00$MainContent$LoginUser$LoginButton","2")
                    request.
                    .post();
  </code></pre>
  
  <p>Then get the login pages.</p>
  
  <pre><code>doc2 = Jsoup.connect("http://46.137.207.181/Groups.aspx").get();
              s=doc.title();
              Elements kelime = doc.select("td");
              for (Element link : kelime) {
                    linkHref = link.attr("hh");
  </code></pre>
  
  <p>Have shown no login screen.</p>
  
  <p>I would like to ask how can I do it?</p>