title: How to enable samesite for jsessionid cookie
body: <p>How can I enable samesite for my web application which runs on wildfly as.
  Checked <code>standalone.xml</code> however could not find an appropriate tag within</p>
  <pre class="lang-xml prettyprint-override"><code>&lt;servlet-container name=&quot;default&quot;&gt;
      &lt;session-cookie http-only=&quot;true&quot; secure=&quot;true&quot;/&gt;
      &lt;jsp-config/&gt;
  &lt;/servlet-container&gt;
  </code></pre>