Results 1 to 3 of 3

Thread: tracking network users

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Aug 2003
    Location
    Edinburgh, UK
    Posts
    2,773

    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....

  2. #2
    Frenzied Member Fishcake's Avatar
    Join Date
    Feb 2001
    Location
    Derby, UK
    Posts
    1,092
    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.

  3. #3
    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...
    Developer Web Hosting - ASP.NET & PHP
    www.datahostingcenter.com
    15% OFF HOSTING Coupon for Forum Members - Enter:
    vbforums

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width