473,387 Members | 1,592 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,387 software developers and data experts.

keep a list of whos logged in to which pc

Hi guys

I'm trying to create an updated list of which of my AD users are logged onto
each computer - there's about 29 computers and we use hotdesking!

I'm using Windows Integrated Authentication, so I know who the user is, and
I obviously know the Workstation name they are on.

My theory is that I could put something in Session_Start to store the
User/Workstation in a database, and I could put something in Session_End to
remove that record.

Any thoughts on any possible problems with that? Also, how can I guarantee
Session_End is fired when the user closes the browser?

Cheers

Dan
Nov 19 '05 #1
2 1493
dhnriverside,

That sounds like a fine plan.

Session is a timed event. The default session timeout is 20 minutes so your
session end event will fire 20 minutes after a user no longer makes contact
with the app by requesting a page / posting a page. You may change the
default session timeout.

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
"dhnriverside" <da*@musoswire.com> wrote in message
news:73**********************************@microsof t.com...
Hi guys

I'm trying to create an updated list of which of my AD users are logged
onto
each computer - there's about 29 computers and we use hotdesking!

I'm using Windows Integrated Authentication, so I know who the user is,
and
I obviously know the Workstation name they are on.

My theory is that I could put something in Session_Start to store the
User/Workstation in a database, and I could put something in Session_End
to
remove that record.

Any thoughts on any possible problems with that? Also, how can I guarantee
Session_End is fired when the user closes the browser?

Cheers

Dan

Nov 19 '05 #2
Excuse me for my ignorant: I do not see how a computer user's loggin on to
his workstation could have something to do with your ASP.NET app's
Session_Start, if he does not start IE (or other browser) and go to your
ASP.NET app. Unless you have some login script running on each station that
send request to your ASP.NET app whenver a user logs on.

So, it is just very simple to write a loggon script to catch user logon
time, user name, computer name and save the infomation to database. This
script can be enforced by AD/Windows Group Policy, so that no user can
bypass it.

Then in you ASP.NET, you only need a very simple page to browse the user
logon data from the database.

"dhnriverside" <da*@musoswire.com> wrote in message
news:73**********************************@microsof t.com...
Hi guys

I'm trying to create an updated list of which of my AD users are logged
onto
each computer - there's about 29 computers and we use hotdesking!

I'm using Windows Integrated Authentication, so I know who the user is,
and
I obviously know the Workstation name they are on.

My theory is that I could put something in Session_Start to store the
User/Workstation in a database, and I could put something in Session_End
to
remove that record.

Any thoughts on any possible problems with that? Also, how can I guarantee
Session_End is fired when the user closes the browser?

Cheers

Dan

Nov 19 '05 #3

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

Similar topics

5
by: benyang22 | last post by:
I have been a long time Matlab user. I Python, I miss Matlab's whos command. So I have written a little utility whos.py, which can be downloaded here:...
1
by: Hollek | last post by:
Before users can use my asp-site, they have to login. The username is stored in a session variable "USR". I need a list of all users that are active in my site. I tried to store the logged...
1
by: Ian Davies | last post by:
Hello In a php file I have a drop down list with index numbers in whos default value is feed into an sql query that filters records from my database and displays them in an html table. Trouble...
4
by: John Wildes | last post by:
Hello I have a small program that I've created to generate accounting statements out of our policy managment system. The first part of the process is selecting the customer to create the...
0
by: dhnriverside | last post by:
Hi all I want to create a webpage that updates say, every 5 minutes (easy), that shows me whos logged on to my network. Any ideas? I've seen this done on an antivirus program, where it pops...
2
by: Don Hobson | last post by:
I am building a website and I want to allow users to do certain things without logging in. I would like to allow them to keep track of certain items, by adding them to a list. Like if they are...
30
ADezii
by: ADezii | last post by:
For this Tip, we will show you an extremely handy, multi-user, feature of Jet that allows you to manage Users more effectively. You can create a special, provider-specific Recordset in ADO that...
6
by: laredotornado | last post by:
Hi, When a user logs into our site, we create a session variable to denote the session is active and another to denote who is logged in. Once the user closes the browser and re-opens it, the...
7
by: tbeers | last post by:
Good Morning I am using Access 2007 and all users are on the runtime version on a network, with FE and BE. Everybody on XP Pro I would like to know what users are on the program at any given...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: 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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.