Java Session, Jsessionid changes

Asked

Viewed 124 times

1

I have a web page that requests a Servlet via Ajax.

In Servlet I create a Session to keep the employee authenticated and to identify him within the system.

However, when I leave the system, I put the Html/css/javascript screens in another port and try to use the system, every time a new request is made in another Servlet, my Jsessionid gets lost and another is created.

Why does this happen?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.