When a user logs out, I can see that the session length "SessionLen" is logged in the disconnect message. I would like to get that value for the user and store it in my database when they're disconnecting. I don't see how to access that value in the docs.
Is there a way for me to grab it or should I just create the variable myself when a user disconnects, eg.
Code: Select all
timestamp - user.getLoginTime()