SessionStatus#setComplete() JavaDoc quite clearly describes the purpose of the method:
This clears the session attributes of the current handler registered through @SessionAttribute . This is completely different from the HttpSession#invalidate() servlet:
/** * Invalidates this session then unbinds any objects bound to it. */
This actually completely destroys the user's session.
Pavel horal
source share