Reply to Re: |OT| HTTP header response for invalid form inputs?

Your name:

Reply:


Posted by R. Rajesh Jeba Anbiah on 10/02/05 18:33

Janwillem Borleffs wrote:
> R. Rajesh Jeba Anbiah wrote:
> > Is it necessary or is there any standard to send HTTP header status
> > for form inputs ? Say, the user is entering invalid password in login
> > form and now all the applications I have seen are just displaying
> > error messages above the form (with HTTP status 200); is it necessary
> > to send 401 status in this case?
>
> The 401 header is generally only used with REALM authentication. When this
> type of authentication isn't used, the HTTP 200 header is more appropriate,
> because the page is found and the error is handled on the page itself.
>
> Another reason for using HTTP headers is when the application responses are
> interpreted by another application. A quick look at the status then will
> give an indication of the success rate, without parsing the response body.

Thanks for your insights. I was wondering if HTTP status code is
necessary in form processing. Thanks again.

--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/

[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

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