W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2008

[whatwg] Solving the login/logout problem in HTML

From: Smylers <Smylers@stripey.com>
Date: Wed, 26 Nov 2008 15:30:05 +0000
Message-ID: <20081126153005.GK19096@stripey.com>
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
Received on Wednesday, 26 November 2008 07:30:05 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:07 UTC