Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Retrieve computer name

Reply
Thread Tools

Retrieve computer name

 
 
Matt
Guest
Posts: n/a
 
      07-28-2003
Hi everybody,

does anyone know how to retrieve the computer name using ASP?

cheers...


 
Reply With Quote
 
 
 
 
Dave Anderson
Guest
Posts: n/a
 
      07-28-2003
"Matt" wrote:
>
> I have just joined a company that has over 200 PCs... and have
> implemented a helpdesk system. Because I don't know anybody at
> all, it is much easier for me to identify by computer as the
> bulk of our users also roam from PC to PC. It is only to be
> used in the intranet, therefore it is a perfectly valid reason.


If you truly want to identify the machine rather than the user, the IP
Address may be sufficient (even if DHCP is in use in some circumstances**).
Take a look at Request.ServerVariables("REMOTE_HOST"). All bets are off if
you're using a proxy.


**In my environment, for example, the IP Address is reserved unless the
machine is off the network for over 20 days.

--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms. Please do not contact
me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting.


 
Reply With Quote
 
 
 
 
Robert Cohen
Guest
Posts: n/a
 
      07-29-2003
depending on your configuation you could use request.servervariables. Check
this out:

http://msdn.microsoft.com/library/de...om_reqocsv.asp

I don't think it will work the way you want if you have Private IP
addresses. I think if you have public IP's it will work.


--
--
In honor of Ross
--



"Matt" <> wrote in message
news:...
> Hi everybody,
>
> does anyone know how to retrieve the computer name using ASP?
>
> cheers...
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to retrieve, in a Intranet, the name of the client computer that connects to IIS 6.0 DevX ASP .Net 7 11-26-2007 10:01 AM
adding a variable name to a hash to name is part of the variable name Bobby Chamness Perl 2 04-22-2007 09:54 PM
how can i retrieve the name of form when one of the element name in this form is 'name' ashok.dhananjeyan@gmail.com Javascript 6 11-24-2006 02:54 AM
print("my name is {name}, and {age}-year old {gender}", name, age, gender); =?iso-8859-1?B?bW9vcJk=?= Java 7 01-02-2006 04:39 PM
Re: Urgent! how to get object name, method name and attribute name based on the strings? ding feng C++ 2 06-25-2003 01:18 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57