VaadinSession.close()

Hello Team,
Im using Vaadin 23+Springboot application ,im just going through the logout cleanup process of my app ,
Just a little confused what is the difference between Vaadinsession.close() and Httpsession.invalidate

Can anyone explain when to use close and invalidate ?

I would say you rarely need to call VaadinSession.close(). It would be the case when you explicitly only want to invalidate the Vaadin part of the HTTP session but keep the rest of the session intact