Posted by R. Rajesh Jeba Anbiah on 10/02/05 18:31
Toby Inkster 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?
>
> A 401 response should only be used if you're using HTTP authentication.
>
> 403 Forbidden might be more appropriate here.
Thanks for your inputs. I really appreciate it. Thanks again.
--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/
Navigation:
[Reply to this message]
|