Results 1 to 2 of 2

Thread: workstation name

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Dec 2000
    Posts
    157

    workstation name

    is there any way i can access the workstation name using asp.
    i have installed a network of about 90 pc's at work, and i have also created an intrenet site for the staff to look at.
    each computer has an individual comptuer name so that in network neighbourhood i can see who's logged in or not.
    what i want is say wkstjohn enteres the intrenet site, i want on his welcome page to display the wkst name and the ip address.
    is this possible or not.

  2. #2
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    You can easily get the IP Address using Request.ServerVariables("REMOTE_ADDR"). You could get the username if you disabled Anonymous access and use NT authentication through IIS (Request.ServerVariables("AUTH_USER")), but I'm not sure if the Workstation name would show up in the CGI variables collection.
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

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