473,804 Members | 3,453 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1509
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
"dhnriversi de" <da*@musoswire. com> wrote in message
news:73******** *************** ***********@mic rosoft.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.

"dhnriversi de" <da*@musoswire. com> wrote in message
news:73******** *************** ***********@mic rosoft.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
10548
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: http://beluga.eos.ubc.ca/~tang/softwares/python/ Here is the doc string: # Before using whos, do:
1
1825
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 usernames in an application variable when they login in the default.asp site: Application("AktiveUser") = Application("AktiveUser") & "<BR>" & Session(USR") When the Session ends, the username is deleted from the application variable like this :...
1
10183
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 is this happens as soon as the php is run so bringing up the same records filtered from the default index. Also when I select a new index no from the drop down list is doesnt refilter the records bringing up the ones for the new list. It still...
4
2182
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 statement for. In this process the application queries the database, returns a dataset of just customer names, and their customer code that is displayed in a list. This results in something like 200 names.
0
1022
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 up on the server saying "so and so just logged in" or "so and so logged out".
2
2105
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 viewing multiple job listings in Houston, they can add each job they care about to a list and when they are done looking at all the jobs, they can view the list of say, 10 jobs. They can print the list or email the list to themselves or someone...
30
37088
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 supplies information about the current Users in the Database. This is accomplished by using the OpenSchema() Method of the Connection Object, which will fill a recordset with varied sets of different Database Schema information. The output of this...
6
5682
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 session is destroyed and the variables are gone. How can I keep the session alive for 24 hours even if the user closes and re-opens the browser?
7
2017
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 time. I have created a tblUserOn and the user is added to the table when he logs on ..no problem. The user triggers a delete query when he exits the program to remove his name from the table. I would like to add one more field and that is a...
0
9705
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9576
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10567
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10323
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10074
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9138
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7613
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
4291
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3809
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.