title: How to login to webpage via Visual Basic console application
body: <p>I've been tasked at work to make our company's software auto-login to a webpage so we can send GET-requests <strong>without webbrowser or VS form</strong></p>
  
  <p>My company's software runs on an industrial machine so the whole thing has to be run automatically from within Visual Studio. 
  So far all the answers to this topic involve some kind of browser, which is why I wanted to ask you guys:</p>
  
  <p>How do I get the cookie and what do I do with it? </p>
  
  <p>How do I submit UN and PW (codewise) to the j_security part of the webpage and using what parameters? </p>
  
  <p>The site ends in login.jsp or j_security.jsp. We have been told to send a GET request for a cookie first and then send Username and PW via POST.</p>
  
  <p>I've started programming in VB literally 2 weeks ago and would appreciate any help! :) </p>