ernal-link">String</a></span>&nbsp;<span class="element-name">changeSessionId</span>()</div>
<div class="block">Change the session id of the current session associated with this request and return the new session id.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>the new session id</dd>
<dt>Throws:</dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IllegalStateException.html" title="class or interface in java.lang" class="external-link">IllegalStateException</a></