Continuing sessions using JSESSIONID <p>I have a web application which requires <code>username and password authentication</code> to enter.</p> <p>What I am doing is, authenticate a user from a stand alone <code>Java app</code>, which would do so by making <code>Http</code> request to the server using <code>username</code> and <code>password</code>. Then I would retrieve <code>JSESSIONID</code> cookie from response of server.</p> <p>Now what I want is to use this <code>JSESSIONID</code> to continue session on browser i.e. to let <code>user</code> navigate pages of my web app which would be opened by my stand alone java app which I use for authentication.</p> <p><strong>Is this possible?</strong> Or is there any other way to do so.</p>