What is the empty session path in Java – Tomcat?
I read the Apache Tomcat document the day before. I was confused about emptysessionpath As far as I know, if set to true, emptysessionpath will be stored in the root folder of the web application Please give the correct definition of the term emptysessionpath. What happens if it is set to true and false?
Please guide me thank you.
Solution
The emptysessionpath field only indicates whether all cookies should be stored in the root URL path (if emptysessionpath = true), otherwise (otherwise)
Apache's connector uses it View the details here (this applies to the AJP connector, which is part of the connector object)
This basically means:
Jsessionid is the webapp session ID See the full description here
Update: information on usage is somewhat outdated – see here for updated information on how to set the session path for the most recent Tomcat