Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to get client's username,computername,domain name using asp

Status
Not open for further replies.

josemauricio

Programmer
Sep 2, 2003
65
BR
Hi All,
Can any of you please tell me how to get client's username,computername,domain name using asp. we don't want to change any setting on IIS that is it will have anymonous access. I don't want any client to install Activex,So can any please help regarding this.

Thanks in advance,
Looking forward for reply,

Regards,

José Maurício.
 
thread216-1270247

Please do not cross-post across forums. Thanks.

-kaht

Looking for a puppy?

silky-icon-left.gif
[small]Silky Terriers are small, relatively odorless dogs that shed no fur and make great indoor pets.[/small]
silky-icon-right.gif
 
given these limitations

we don't want to change any setting on IIS that is it will have anymonous access. I don't want any client to install Activex,

You can't.


Chris.

Indifference will be the downfall of mankind, but who cares?
Woo Hoo! the cobblers kids get new shoes.
People Counting Systems

So long, and thanks for all the fish.
 
The HTTP protocol does not require a browser to send those bits of information to the web server.

In ASP, you can see what a browser is sending to the server by looping through the Request.ServerVariables collection.
[tt]
For Each Foo in Request.ServerVariables
Response.Write Foo & " = " & Request.ServerVariables(Foo) & "<BR>"
Next[/tt]


If you remove anonymous access for a page or item, the web server will return a 401 Access Denied. In its default configuration, Internet Explorer will automatically re-submit the HTTP request with the user's credentials. For the duration of the session IE will continue to send the credentials to subsequent requests to the same web server.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top