Reply to Re: Login test before redirect

Your name:

Reply:


Posted by Janwillem Borleffs on 06/16/05 12:44

neeper wrote:

A: Because questions are followed by answers
Q: Why shouldn't I top post?

> is $response contents of the page, what if the page has a custom error
> message with an image without '401' in html. Will the 401 still be
> caught as a server error message response?
>
>

What you are trying test is HTTP Basic Authentication, which means that
a 401 header is sent to the browser when the credentials are not
supplied or incorrect.

In all other cases, you will get a 200, 301, 302 etcetera as the
response code.


JW

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация