Posted by Toby Inkster on 10/02/05 16:04
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.
--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
Navigation:
[Reply to this message]
|