title: Configure WildFly/Undertow to put JSESSIONID on URL if cookies not accepted
body: <p>We previously used JBoss 7.1.2 and utilized the behaviour that JSESSIONID is put on the URL as a fallback if cookies are not accepted or if the JSESSIONID cookie is not present in requests.</p>
  
  <p>After migrating to WildFly 8.2.0 / Undertow 1.1.0 this URL rewrite is not happening.</p>
  
  <p>Is it possible to configure WildFly/Undertow to put JSESSIONID on URLs as a fallback? We are aware of the possibility to put session-config in <code>web.xml</code>, e.g.:</p>
  
  <pre><code>&lt;session-config&gt;
    &lt;tracking-mode&gt;URL&lt;/tracking-mode&gt;
  &lt;/session-config&gt;
  </code></pre>
  
  <p>But we only want JSESSIONID on URLs as a fallback solution.</p>