Java Session, JsessionID changes

0

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?

    
asked by anonymous 03.05.2018 / 05:45

0 answers