• Best way to perform cleanup after user logs off

    From Andreas Selstam@21:1/171 to All on Sunday, November 19, 2017 17:23:11
    Hi!

    Sorry, this might be a newbie question, but what would be the preferred way
    of handling clean up stuff when a user logs off?

    As it is now I create a semaphore when the user logs off via the menu but if someone just hangs up that doesn't get created.

    Is there a way to globally do something after a hangup event?

    // Andreas

    --- Mystic BBS v1.12 A35 (Linux/64)
    * Origin: Modema Tider BBS (21:1/171)
  • From g00r00@21:1/108 to Andreas Selstam on Sunday, November 19, 2017 11:53:43
    Sorry, this might be a newbie question, but what would be the preferred way of handling clean up stuff when a user logs off?

    What type of clean up stuff are you referring to?

    --- Mystic BBS v1.12 A36 2017/11/18 (Windows/32)
    * Origin: Sector 7 [Mystic BBS WHQ] (21:1/108)
  • From Andreas Selstam@21:1/171 to g00r00 on Sunday, November 19, 2017 20:19:58
    What type of clean up stuff are you referring to?

    Nah, noting in particular with regards to Mystic but the use case I'm working on right now is compiling statistics every time a user logs off.

    // Andreas

    --- Mystic BBS v1.12 A35 (Linux/64)
    * Origin: Modema Tider BBS (21:1/171)