javaspringspring-boot

What is the default Session Storage for Spring Boot?


I have read the Spring Boot documentation and I got knowledge about Spring Session from this document.

But I see that HttpSession class works without adding any dependencies in my code.

So...

I'm guessing that Spring Boot provides Session Storage by default. Does anyone know about this? I looked at spring docs but couldn't find it.


Solution

  • How to you run your app? Do you use Tomcat or Jetty embedded server or deploy it in those servers? They all have their own session storage implementation. Tomcat uses file-bases session storage by default.