September 2002
Intermediate to advanced
544 pages
13h 6m
English
As you learned earlier in the book, the 401 Unauthorized error is sent to the user when she fails to enter the correct username or password for a site that requires the user to log in. Unfortunately, the default error documents for the 401 error aren’t very descriptive, as you can see from Figure 23.7.

If your site uses authentication, you should provide users with an error document that explains why access to the page wasn’t granted if they fail to log in correctly. Furthermore, if you run a public site, you should explain how users can ...
Read now
Unlock full access