views:

14

answers:

1

hi all, in my sharepoint site, there is anonymous access. When the user clicks "Cancel" button in login dialog box, 401 unauthorized is coming. I want the page to remain on the welcome page of the sharepoint site with anonymous access, when he clicks cancel button. how to do this?

+1  A: 

The dialog box you are seeing is the normal NTLM authentication dialog and when the user clicks "cancel" it is the correct behavior to redirect to a different page because the HTTP Request code 401 is correct in this case.

What you can do is write a custom error page for HTTP response code 401.

Custom error pages are kind of hard with Sharepoint 2007, see the following blogs for instructions how to implement them:

moontear
thanks moontear :)
Abhimanyu
If it is the answer you were seeking, think about accepting the answer with the check-mark on the left.
moontear