[whatwg] Solving the login/logout problem in HTML

Smylers Smylers at stripey.com
Wed Nov 26 07:30:05 PST 2008


Markus Ernst writes:

> Ian Hickson schrieb:
> 
> > ...and there must be a <form> element with name="login", which
> > represents the form that must be submitted to log in.
>
> Forgive me if this is a stupid question... but anyway: Are there other
> cases where values of the name attribute have special functionalities?

"Other" cases?  This isn't such a case.  Note that just above the part
of Ian's message that you quote there he wrote:

  So when you get to a page that expects you to be logged in, it return
  a 401 with:

     WWW-Authenticate: HTML form="login"

That is, the HTTP header specifies the name of which form to use.

Smylers



More information about the whatwg mailing list