Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 19th, 2005, 09:53 AM
Fox
Guest
 
Posts: n/a
Default Logging in shows 2 different logins

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


  #2  
Old July 19th, 2005, 09:53 AM
Tom Kaminski [MVP]
Guest
 
Posts: n/a
Default Re: Logging in shows 2 different logins

"Fox" <fox @ connexions .net> wrote in message
news:OosM8pOuDHA.2260@TK2MSFTNGP09.phx.gbl...[color=blue]
> 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.[/color]

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

--
Tom Kaminski IIS MVP
http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
http://mvp.support.microsoft.com/
http://www.microsoft.com/windowsserv...y/centers/iis/



  #3  
Old July 19th, 2005, 09:53 AM
Fox
Guest
 
Posts: n/a
Default Re: Logging in shows 2 different logins


"Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote in message
news:bqidct$q3c3@kcweb01.netnews.att.com...[color=blue]
> "Fox" <fox @ connexions .net> wrote in message
> news:OosM8pOuDHA.2260@TK2MSFTNGP09.phx.gbl...[color=green]
> > 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.[/color]
>
> It depends on what was entered as the credentials. You should modify your
> code so it strips out the domain or machine name qualification.[/color]



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


 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles