Below is the scenario for a virtual directory following are the setting in IIS
1. Enable Anonymous Access is DISABLED (check box is unchecked).
2. Integrated Windows Authentication is DISABLED (check box is unchecked)
3. Basic authentication is ENABLED (checkbox is selected)
In the web.config of the web application (for the same virtual directory above) the setting is as follows:
<authentication mode="Windows" />
<authorization>
<allow users="?" />
</authorization>
When I browse an aspx page of the above web application it asks for username and password.
User enters username and password (in the dialog which appears as a part of windows authentication).
I can get the username that user has entered) if the login is successful.
Is there any way I can get the username(that user has entered) even if the login fails.
Regards,
Deepak