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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Server Variables 1

Status
Not open for further replies.

TheConeHead

Programmer
Joined
Aug 14, 2002
Messages
2,106
Location
US
I am trying to use Request.ServerVariables("LOGON_User")

I turned of anonymous access, but then I am asked for a username and password when I tried to load the page... how can I still access my pages and still get the logon user?

[conehead]
 
not sure what you mean, could you explain that?

[conehead]
 
there is no logged on user with anonymous access

If you don't put in your username how is it supposed to return it ?

Chris.

Indifference will be the downfall of mankind, but who cares?
A website that proves the cobblers kids adage.
Nightclub counting systems

So long, and thanks for all the fish.
 
I see what you are saying - It is asking me for a uname and pword anytime it is making a call to the server... perhaps it is a network issue... I am logged into a network, but perhaps this machine is not on the same netwrok, would that do it?

[conehead]
 
no, I just found out that I am logging into the same network that the server is on and it is still prompting me for that info. Why would that be?

[conehead]
 
IIS and the network logon have no intrinsic connection only when you supply the username etc will it authenticate against the domain usernames.

If you are on a AD network it may be possible to use the ADSI Objects or LDAP to get the info.



Chris.

Indifference will be the downfall of mankind, but who cares?
A website that proves the cobblers kids adage.
Nightclub counting systems

So long, and thanks for all the fish.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top