I am looking for an easy way to programatically find out if currently any user sessions are open on my IIS (7, 7.5, 8) web application. I don't want to count logins and logouts, just check if there is more than one user active ... A similar question was asked for PHP: Find Number of Open Sessions and there are a number of other issues around but all are based on PHP. Unfortunatelsy that doesn't help me in my vb.net environment.
I am aware that the sessions will be open and counted until the session timeout is reached, even if the users are not longer using the application.
I need the information from within an aspx.vb (is this user the only onw who is currently working on the application) or from a window console application (is there really only one user currently using my web application).
Any ideas? Thanks