title: refresh cookie on each request in spring
body: <p>I have an application in which I have set the session timeout to be 1 hour. But I do not want that if the user closes his browser and opens it again, he has to login again. For that I need a method to somehow refresh cookie expiry time on each request. </p>
  
  <p>I am using spring boot with spring security. How can I achieve this functionality.?</p>