what i mean by session is, any login through GUI / remote access / ssh / vnc
I guess they are the same
We are Developing an Zero trust access solution(you may call it a VPN), it runs as a daemon with a network extension (in some cases)
The reason we need to know about the logins is to adapt our configuration based on the user requesting access, or alternatively disable ourselves when multiple users are using the machine