title: How to get session id from cookie?
body: <p>I take away all the cookies, and what I get is: <strong>JSESSION=234234fsdf23</strong>.<br>
   But I only need a value without <strong>JSESSION</strong>.<br>
   Please tell me how to do this?</p>
  
  <pre><code>  Headers header = response.headers();
    List&lt;String&gt; cookieList = header.values("Set-Cookie");
    String jsessionid = (cookieList.get(0).split(";"))[0];
  </code></pre>