List of current user activity

C

Christina N

I want to write a (vb.net) function that outputs a list of currently active
users, and an indication of how many minutes they've been inactive. I want
the output to look something like this:

SessionID Minutes since last activity
=================== =================
2igqzb45ylqm0hmroapzi3yd 5 minutes
2j0ets551fdbi0myf5ifp445 0 minutes
ih452lb1qf4ugh45hnzgehfw 1 minute


Is this possible using IIS/ASP.Net?


Best regards,
Christina
 
B

bruce barker

no builtin, but easy to code. create a static hashtable, and in global.asax
on Application_EndRequest, update the session id and timestatmp. then write
a page to query the hastable. should take less than 5 minutes to code.

-- bruce (sqlwork.com)
 
C

Christina N

Could you please please give me an example on how to do this..?

Best regards,
Christina
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,564
Members
45,040
Latest member
papereejit

Latest Threads

Top