client gets always every first time for every page a 401
From: megloff (joes_at_bluewîn.ch)
Date: 05/27/03
- Next message: Michael Howard [MSFT]: "Re: logon failure"
- Previous message: Pam: "logon failure"
- Next in thread: BB: "Re: client gets always every first time for every page a 401"
- Reply: BB: "Re: client gets always every first time for every page a 401"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 27 May 2003 09:09:48 -0700
Hello there
I have an issue with the basic authentication from IIS. I working with
IIS 4.0 on WinNT 4 Server SP3. My WebSite instance in the IIS has the
basic authentication activated.
When I try now to access with a new Browser Instance to my Website, I
get for every first page the first time an 401.
I think there is something wrong configurated, because I expect that it
is only necessary to authenticate to my root of the website and not for
each page or request on my site.
Is this correct? Or is this normal that my Browser has to authenticate
for every request ?
Here an example sequence to make it more understandable:
1.[Browser] Get /myRoot/myFolder/MyDoc.html
2.[Server] 401 (Basic Realm)
3.[Browser] Get /myRoot/myFolder/MyDoc.html Basic:xxxxxxx
4.[Server] 200 Ok
5.[Browser] Get /myRoot/myFolder/mySubFolder
6.[Server] 401 (Basic Realm)
7.[Browser] Get /myRoot/myFolder/mySubFolder Basic:xxxxxx
8.[Server] 200 Ok
... // If I am accessing the same page the second time it works
x.[Browser] Get /myRoot/myFolder/mySubFolder Basic:xxxxxx
xi.[Server] 200 Ok
Why does my Browser in case 5 not submit the Basic Authorization String
automatically? So the Browser should know that he can use the same
credentials as used in 3, because they have the same root. Is this
because a header is missing from the IIS?
I attached You also some lines from the IIS logs which makes it more
understandable as my pretty created sequence above:
2003-05-26 15:58:32 166.11.47.199 -
/banking_content_management/common/login_action/0,,,00.html 302 217 1922
2003-05-26 15:58:32 166.11.47.199 -
/csam_content_management/csam_content_management_home 401 797 16
2003-05-26 15:58:32 166.11.47.199 szrh91604\logicacma
/csam_content_management/csam_content_management_home/ 302 402 0
2003-05-26 15:58:32 166.11.47.199 szrh91604\logicacma
/csam_content_management/csam_content_management_home/0,,,00.html 200
16943 16
2003-05-26 15:58:32 166.11.47.199 szrh91604\logicacma
/banking_content_management/common/images/csam.gif 200 1746 31
2003-05-26 15:58:32 166.11.47.199 szrh91604\logicacma
/banking_content_management/common/images/provider.gif 304 141 16
Thank for you any comments if this is a normal behaviour or if we can
achieve this.
Thank you regards
Mark
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
- Next message: Michael Howard [MSFT]: "Re: logon failure"
- Previous message: Pam: "logon failure"
- Next in thread: BB: "Re: client gets always every first time for every page a 401"
- Reply: BB: "Re: client gets always every first time for every page a 401"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|