title: Change session cookie name and path in Spring Boot WebFlux
body: <p>I'm creating a reactive Spring Boot project using WebFlux. I need to configure the session cookie name and path.</p>
  
  <p>In a Tomcat based project it is very easy to <a href="https://stackoverflow.com/a/34334070">configure the session cookie using the configuration</a> file:</p>
  
  <pre><code>server.servlet.session.cookie.name = MYSESSIONID
  server.servlet.session.cookie.path = /
  </code></pre>
  
  <p>If I configure these properties in the WebFlux project it doesn't affect the cookie parameters. How to do that?</p>