Prasad,
What you are describing is expected behavior from IIS. Each initial
request from a web browser is made anonymously, if IIS requires
authentication it will reply with a 401 to the client, and specify the
authentication methods supported (Basic, Integrated, etc.). The Client
(IE) then sends the appropriate authentication.
Please review the following article for more information on how IIS handles
Authentication.
264921 INFO: How IIS Authenticates Browser Clients
http://support.microsoft.com/?id=264921
Lou Prete [MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2001 Microsoft Corporation. All rights
reserved.
--------------------
|From: "K.G.V.S.Prasad" <kprasad RemoveThis @vanenburg.com>
|Subject: 401 Access denied....
|Date: Fri, 5 Sep 2003 18:11:01 +0530
|Lines: 17
|X-Priority: 3
|X-MSMail-Priority: Normal
|X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
|X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
|Message-ID: <O9rk4r6cDHA.3500 RemoveThis @TK2MSFTNGP11.phx.gbl>
|Newsgroups: microsoft.public.inetserver.iis
|NNTP-Posting-Host: 210-210-79-19.lan.sify.net 210.210.79.19
|Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.phx.gbl
|Xref: cpmsftngxa06.phx.gbl microsoft.public.inetserver.iis:274076
|X-Tomcat-NG: microsoft.public.inetserver.iis
|
|Hello,
|I am working with IIS 5.0. I am trying to access a webpage with necessary
|accessibility credentials. Through the IIS log I observed that there are
|totally 3 HTTP transaction happening to server my request. During first 2
|transactions the response from server is "401 Access denied". The response
|for the third transaction was "200 OK".
|
|My doubt is why these 2 extra transactions are happening? Is there a way to
|avoid this..?
|Because this is causing network overhead by transferring nearly 8.46kb of
|data (error pages) from server to client. So I want to avoid this. Please
|share ur ideas with me.
|Regards,
|Prasad.
|
|
|
|