Please note that there is no such thing as a 401.1 when it comes to the HTTP
headers themselves. (Watch using a network sniffer to confirm for
yourself).
When you see a 401.1 in IE, what's really happening is that IIS is sending
down a HTTP/401 error code in that HTTP Result, but the body text provides
the additional information you're seeing that claims it's really a 401.1
--
Thanks,
Eric Lawrence
Program Manager
Assistance and Worldwide Services
This posting is provided "AS IS" with no warranties, and confers no rights.
"Dhwanil Shah" <an*******@discussions.microsoft.com> wrote in message
news:B0**********************************@microsof t.com...
We are trying to refuse data display to users based on some internal
criteria. The site uses Basic Authentication for security.
Through ASP.NET we can send a status of 401. The request to our site comes
from an application that understands the HTTP protocol.
If we send 401, the requsting application comes back to our application
with the same user credentials. I read somewhere that 401 does not "exactly"
mean access denied. The exact status code is 401.1 or 401.2.
The Status property of the Response object is an "int" - how can we send
something like 401.1 or 401.2 from ASP.NET????
Thanks