Skip to content
Snippets Groups Projects
  • Simon Urli's avatar
    b4697bfd
    XWIKI-19774: Temporary attachments aren't deleted when the session is destroyed (#1850) · b4697bfd
    Simon Urli authored
    Introduce an HttpSessionManager component in charge of keeping tracks of
    the HttpSessions and of properly disposing them whenever the component
    is disposed: this ensures that the sessions are properly disposed and
    that their possible listeners are called whenever the application is
    stopped.
    Implements the storage of the TemporaryAttachmentSession directly in the
    HttpSession attributes, and modifies this one to be a HttpSessionBindingListener
    so that the data are clean whenever the session is disposed.
    XWIKI-19774: Temporary attachments aren't deleted when the session is destroyed (#1850)
    Simon Urli authored
    Introduce an HttpSessionManager component in charge of keeping tracks of
    the HttpSessions and of properly disposing them whenever the component
    is disposed: this ensures that the sessions are properly disposed and
    that their possible listeners are called whenever the application is
    stopped.
    Implements the storage of the TemporaryAttachmentSession directly in the
    HttpSession attributes, and modifies this one to be a HttpSessionBindingListener
    so that the data are clean whenever the session is disposed.