|
-
Aug 23rd, 2004, 03:13 AM
#1
Thread Starter
PowerPoster
tracking network users
Hi there.
Is it possible to track the usernames of people logging into a website using asp.net? (vb.net) ?
i would like to track down what user has been using the website and looking at the database etc....
-
Aug 23rd, 2004, 06:05 AM
#2
You could simply have a table in your database and then whenever a user logs in (or performs any other action you want recording) store the username in the database along with any other info you want to store.
-
Aug 30th, 2004, 01:39 AM
#3
Junior Member
Just a thought...
If you are going to track the users logging in, you mise well add some additional data to that tracking database.
Another handy thing to track from ASP.NET is to get the user's referrer URL, which is the page he was just on (in the same browser instance) before coming to your page.
Get the referrer URL
In ASP.NET it can be retrieved simply by:
Request.UrlReferrer.ToString()
There are many more properties and methods under the request object of ASP.NET, and you can also find other details about the user you could store in the database, including the user's host name and IP address.
Hope this was helpful...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|