Environment - openjdk 1.7 - tomcat 7.0.55 with native connector - apache 2.4.10 with mod-jk 1.2.40
1. Tomcat start 2. Client request -> JSESSIONID is null 3. tomcat response -> JSESSIONID=C5EBF0AA96ADB34E0C28E4D9D2595D98 is create 4. refresh page -> session attribute(name=count, value=count++) is correct. count is increasing. 5. Tomcat stop -> start (restart) context setting is session is not persist 6. Client refresh -> client request is send JSESSIONID=C5EBF0AA96ADB34E0C28E4D9D2595D98 7. session attribute(name=count, value=0) is reset. but keeping JSESSIONID question. why tomcat using JSESSIONID set by client request value? is not regenerate? is this java spec? thanks.