Is there any difference/correlation between spring httpsession and Tomcat session?
I have read Tomcat documentation but still I don't understand how it is related to deployed web apps.
No , they refer to the same things. You can think that Tomcat is responsible for creating and managing the actual session instance.
When a web app deployed on Tomcat need to access the session , it will ask Tomcat to give it by HttpServletRequest#getSession().
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With