I have a webpage that requests a Servlet via Ajax.
In the servlet I create a session to keep the employee authenticated and to identify it inside the system.
However, when I exit the system, I put the Html / css / javascript screens on another port and try to use the system, every time a new request is made to another servlet, my JsessionID is lost and another is created.
Why does this happen?