Computing.Net > Forums > Programming > asp (wshnetwork)

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

asp (wshnetwork)

Reply to Message Icon

Name: Weijie
Date: August 5, 2003 at 00:24:14 Pacific
OS: win98
CPU/Ram: p2
Comment:

HI,

I have a problem. I need to identify a user's network name by using CreateObject("WScript.Network") in the asp acript but this method creates the object on the server side and identifies me as the user. What to do?pls advise



Sponsored Link
Ads by Google

Response Number 1
Name: Chi Happens
Date: August 5, 2003 at 05:39:18 Pacific
Reply:

Could you not use the server variables?

Request.ServerVariables("REMOTE_ADDR")
Request.ServerVariables("REMOTE_USER")
Request.ServerVariables("REMOTE_HOST")



0

Response Number 2
Name: Weijie
Date: August 6, 2003 at 04:47:34 Pacific
Reply:

These variables i use before. Request.ServerVariables("LOGON_USER") is empty,y? All i get are IP addressess from the other variables but i want to associate the dsn witn the ips, how to do?


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: asp (wshnetwork)

ASP error 80070520 www.computing.net/answers/programming/asp-error-80070520/14355.html

asp.net 2.0: class file and .aspx page concep www.computing.net/answers/programming/aspnet-20-class-file-and-aspx-page-concep/19753.html

ASP display error www.computing.net/answers/programming/asp-display-error/1030.html