Logging in shows 2 different logins

F

Fox

Hi,

Windows 2000 Server
IIS 5.0

These logins are via web site.
I have several folders where I need to log in.
I am also using
Request.ServerVariables("AUTH_USER")
in some of the files to further control security.

When I go to this one folder it is logging me in as
"fox"
the other folder is loggin my in as
"machinename/fox"

I am finding this out by using
Response.Write(Request.ServerVariables("AUTH_USER"))

The folder's and the file's security settings are identical
unless I am overlooking something. What can be happening
here? I need to get these to both be the same.

Thanks,
Fox
 
T

Tom Kaminski [MVP]

Fox said:
Hi,

Windows 2000 Server
IIS 5.0

These logins are via web site.
I have several folders where I need to log in.
I am also using
Request.ServerVariables("AUTH_USER")
in some of the files to further control security.

When I go to this one folder it is logging me in as
"fox"
the other folder is loggin my in as
"machinename/fox"

I am finding this out by using
Response.Write(Request.ServerVariables("AUTH_USER"))

The folder's and the file's security settings are identical
unless I am overlooking something. What can be happening
here? I need to get these to both be the same.

It depends on what was entered as the credentials. You should modify your
code so it strips out the domain or machine name qualification.
 
F

Fox

Tom Kaminski said:
It depends on what was entered as the credentials. You should modify your
code so it strips out the domain or machine name qualification.



That's what I ended up doing. Don't know why I did not think of that
right away. Maybe its because it was so frustrating to see the same
login responding differently and not seeing any reason for this.

Thanks for the input,
fox
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top