A user account is required in order to edit this wiki, but we've had to disable public user registrations due to spam.

To request an account, ask an autoconfirmed user on IRC (such as one of these permanent autoconfirmed members) or send an e-mail to admin@wiki.whatwg.org with your desired username and an explanation of the first edit you'd like to make. (Do not use this e-mail address for any other inquiries, as they will be ignored or politely declined.)


From WHATWG Wiki
Jump to: navigation, search

The "logout" Link Relation

The "logout" link relation is used only within a <link> element to reference a resource that logs out the current "user." The href attribute must point to the same origin as the current document.

The user agent MUST NOT request the resource, except as follows:

  • The title attribute is used as a "grouping" identifier -- all open documents within the same domain that have the same title attribute value are considered in the same "group."
  • Upon closing all documents in the same group, the URI specified by the href attribute of the last window is sent a POST request with an empty body by the user agent.

An example:

  <link rel="logout" title="groupA" href="http://domain.tld/logout?param=value" />