How session management works in Java web applications (e.g. a Tomcat web application)

High-level Flow User requests a webpage Browser sends the request to the web-server The server sees that there is no “session related information/identifier” in the request. So it creates a new session (and a new session identifier – the JSESSIONID) The server sends the JSESSIONID back to the client (e.g. in a cookie, along with … Read more