View Full Version : Machine Name
Eskimo
10-18-2002, 05:23 PM
I've been hunting through MSDN and can't find a way to extract the Machine Name of the user. I had originally thought there was a Request.ServerVariable that would accomplish this, but I obviously very wrong. Instead of hunting through all that haystack, I though I just push the question out to yall.
By the way, Hows every one doing, haven't been on here in a VERY long time, it is nice to still see some old names.
[EDIT]
FYI
@ language="JavaScript"
!me.VB
whammy
10-19-2002, 02:02 AM
Hmm... I'm not aware of any legitimate way to get the machine name...
I know you *might* be able to use a certain language to get it using cookies and another specific situation (only on Windows platforms), but there is NO way I would EVER share that information, use it, or be any more specific due to other serious security problems (like the server being able to arbitrarily execute code on the client's machine).
Not to mention I haven't messed around with implementing it, for obvious reasons!
Anyone else have any ideas? I, too, messed around with a lot of HTTP header variables in an attempt to find this... perhaps you will have more luck.
One way to write all the HTTP header variables to your ASP page is like:
<%
dim item
For Each Item in Request.ServerVariables
For iCount = 1 to Request.ServerVariables(Item).Count
Response.Write Item & " = " & Request.ServerVariables(Item)(iCount) _
& "<br>"
Next
Next
%>
Maybe that will help.
:)
Eskimo
10-19-2002, 04:21 AM
There is no ServerVariable that will get the machine name. I did find a way, but I happen to like Whammy and don't wanna release any info that he feels isn't good.
Sorry guys.
whammy
10-19-2002, 12:35 PM
Is it the security vulnerability I was talking about? If it's not that, and it's legit, go ahead and post it. :)
vBulletin® v3.8.2, Copyright ©2000-2010, Jelsoft Enterprises Ltd.