Friendly HTTP 401 Status Code Message?

Ed Blackburn picture Ed Blackburn · Oct 17, 2008 · Viewed 9k times · Source

I'm a developer not a wordsmith and as such I'm stuck.

We have a subscription based site whereby users may well come across our 401 page.

We've decided that the IIS 401;2 page needs replacing.

Does anyone have any examples or advise about writing a good non offensive 401 page?

Answer

Torbjørn picture Torbjørn · Oct 17, 2008

This is an actual example - and a really funny one - supposedly taken from michaelbloomberg.com

Unauthorized (401)

Through a series of highly sophisticated and complex algorithms, this system has determined that you are not presently authorized to use this system function. It could be that you simply mistyped a password, or, it could be that you are some sort of interplanetary alien-being that has no hands and, thus, cannot type. If I were a gambler, I would bet that a cat (an orange tabby named Sierra or Harley) somehow jumped onto your keyboard and forgot some of the more important pointers from those typing lessons you paid for. Based on the actual error encountered, I would guess that the feline in question simply forgot to place one or both paws on the appropriate home keys before starting. Then again, I suppose it could have been a keyboard error caused by some form of cosmic radiation; this would fit nicely with my interplanetary alien-being theory. If you think this might be the cause, perhaps you could create some sort of underground bunker to help shield yourself from it. I don't know that it will work, but, you will probably feel better if you try something.

And don't get me started on all the cool 404 pages out there....