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 Chat (such as one of these permanent autoconfirmed members).

LogoutRelExtension

From WHATWG Wiki
Revision as of 19:44, 20 June 2009 by Bilcorry (talk | contribs) (initial draft)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The "logout" Link Relation

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

When specified within a <link> element, 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" />