title: How to prevent adding jsessionid at the end of redirected url
body: <p>I am trying to redirect to foreign domain url from my servlet. But the redirection adds <strong>;jsessionid=ghdssdf...</strong>  at the end of url. I do not know how I can prevent appending jsession id to my url. My app is running on Websphere</p>
  
  <pre><code>resp.sendRedirect(resp.encodeRedirectURL("https://www.facebook.com/mymage"));
  </code></pre>
  
  <p>end the directed url can be seen in browser as <a href="https://www.facebook.com/mymage;jsessionid=dfsdfsd" rel="noreferrer">https://www.facebook.com/mymage;jsessionid=dfsdfsd</a></p>