Total user login count when Close Browser Without logout

Hi ,

Anyone have any idea how we can identify total number users that still login the ERPNext ? IF, the users is closing the browser that he has login, without a proper logout ?

I’m trying to check around the forum but not able to get the answer.
Please advice.

Thanks in advance.

These threads may be helpful

The second link solution might be closer to my scenario.

Can we also track or save the time duration of the user in system when he logout or session expired ? I saw some setting under reference section.

Any idea what is this Timeline Doctype for ?