[whatwg] suggestion: LINK element for session termination

Regarding the following point from the "wishlist" of the specification:

> Better defined user authentication state handling.
> (Being able to "log out" of sites reliably, for instance,
> or being able to integrate the HTTP authentication
> model into the Web page.)

It would be nice if the UA could have a unified "logged in" interface
for both HTTP authentication and form login.

I suggest a new LINK rel definition:

<LINK rel="logout" href="/logout.cgi" />

The presence of this tag indicates to the UA that the server considers
the page a part of an authenticated session. This tag can be used by
the UA for having a "logged in" indication and a "log out" feature in
its UI.
It might also be used by the UA to (optionally) automatically log out
when the user closes the window or the application.

Perhaps we want to add rel="login" too?
-- 
Hallvord R. M. Steen

Received on Monday, 13 June 2005 04:38:12 UTC