473,394 Members | 1,714 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

List of current user activity

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
Nov 18 '05 #1
2 1682
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)

"Christina N" <no@mail.please> wrote in message
news:eL**************@TK2MSFTNGP15.phx.gbl...
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

Nov 18 '05 #2
Could you please please give me an example on how to do this..?

Best regards,
Christina

"bruce barker" <no***********@safeco.com> skrev i melding
news:OG*************@tk2msftngp13.phx.gbl...
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)

"Christina N" <no@mail.please> wrote in message
news:eL**************@TK2MSFTNGP15.phx.gbl...
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


Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: cricketunes | last post by:
Hi Folks, I am working on a PHP/HTML form which supports End User queries. I need the user to select a combination of Airline and corresponding place of Origin. i,e Delta - Madison, Dallas,...
8
by: Guy Hocking | last post by:
Hi there, I am having a few problems compiling a list box that is conditional on what is selected in another list box. What i need is a List box (lstArea) that displays one thing when the List...
4
by: Kenneth Courville | last post by:
Hello, I have an application that will be logging to a SQL Server 2000 database user user activity from several Windows 2003 terminal servers. This information will be retrieved by monitoring...
3
by: L. D. James | last post by:
Can someone help me to define a format of a database, or a table that has a field that will have tables in that field? Please look at the example and explanation below: Table: Roster ...
3
by: Michael | last post by:
Dear All I have problem with my database server which running SQL server 2000. The server running very slow. The worst case, to save a record required more than 20-30 seconds. Since this...
2
by: Jozef | last post by:
Hello, Is there a way to find the current machine name using VB? I'm trying to log user activity, but I'd also like to log the location as well i.e. if errors occur, then I can get an idea what...
5
by: Little | last post by:
I have this program and I need to work on the test portion, which tests if a Val is in the list. It returns false no matter what could you look at the part and see what might need to be done to fix...
10
by: AZRebelCowgirl73 | last post by:
This is what I have so far: My program! import java.util.*; import java.lang.*; import java.io.*; import ch06.lists.*; public class UIandDB {
2
by: RP | last post by:
I want to detect user activity (mouse move, key click). For certain critical areas (Form in my app.), I want to check whether there is any user activity for a certain interval. If not, then I want...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.