PC Review


Reply
Thread Tools Rate Thread

Currently Logged on users

 
 
gover
Guest
Posts: n/a
 
      8th Jun 2007
Hello,
Is ther an API I can use to get a list of / or the number of users
currently logged on to an iis6 or iis 7 web app. I Know IIS keeps a seesion
for each user. how can i get an enumeration of those sessions? I realize
that the session m,ay have timed out, but if i'm trying to redeploy an app
to iis , it would be nice if i coul verify that the number of active session
was xero before pushing out any changes, essentially killing all active
sessions.
Russ


 
Reply With Quote
 
 
 
 
=?Utf-8?B?U2l2YSBN?=
Guest
Posts: n/a
 
      8th Jun 2007
One approach is to have an application-level counter (stored in Application
state) that will be incremented in the Session_Start event and the same will
be decremented in the Session_End event. Both the session events can be
hooked from global.asax.

"gover" wrote:

> Hello,
> Is ther an API I can use to get a list of / or the number of users
> currently logged on to an iis6 or iis 7 web app. I Know IIS keeps a seesion
> for each user. how can i get an enumeration of those sessions? I realize
> that the session m,ay have timed out, but if i'm trying to redeploy an app
> to iis , it would be nice if i coul verify that the number of active session
> was xero before pushing out any changes, essentially killing all active
> sessions.
> Russ
>
>
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Logged in users =?Utf-8?B?S3BhdGVs?= Microsoft Access Form Coding 16 3rd May 2006 03:13 PM
Other users logged in =?Utf-8?B?T2dyaXNo?= Windows XP General 3 23rd Nov 2004 03:22 AM
Get logged on users =?Utf-8?B?U2ltb25lIEJvdHRhbmk=?= Microsoft C# .NET 3 21st Mar 2004 10:41 AM
Logged on users? Jeff Microsoft Windows 2000 Active Directory 1 8th Feb 2004 10:42 PM
Logged in users Håkan Hammarling Microsoft Windows 2000 4 14th Oct 2003 03:00 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:52 AM.