Same site
http://example.com/- session is not saved, JSESSIONID - every time a new onehttp://www.example.com/- the session is saved, the JSESSIONID is the samehttps://example.com/- the session is saved, the JSESSIONID is the same- locally
http://localhost/- the session is saved, the JSESSIONID is the same
I noticed that the browser does not even transmit this cookie to the server in the first case, in the others it transfers.