[whatwg] suggestion: LINK element for session termination

Charles Iliya Krempeaux supercanadian at gmail.com
Mon Jun 13 18:17:03 PDT 2005


On 6/13/05, Hallvord R M Steen <hallvors at gmail.com> wrote:
> On 6/13/05, Charles Iliya Krempeaux <supercanadian at gmail.com> wrote:
> > Having a way to "logout" the user from an HTTP authentication session
> > is very desirable.
> Yes, this has been discussed before and the response was that it is a
> browser UI issue.

I agree with you in that this is (partially) a problem with the
browser.  But what if the browsers had a feature where the user could
"logout" of a website (using HTTP authentication).  (In other words,
what if the browser had a button or something that would "clear out"
the "username" and "password" it is sending for a web site.)  Would
that be enough?

I don't think it would be enough.  The reasons are....  #1: Web
developers will want to integrate the logout button into their "web
pages" or "web applications".  #2: Web developers will want to be able
to "logout" via JavaScript.  #3: Web developers will probably want to
be able to control if the "authentication pop-up" (the pop-up window
you type your username and password into) comes up or not.

At the very least there should be a JavaScript API that can let you
"logout".  (And be able to detect if you are "logged in" or not.)

See ya

     Charles Iliya Krempeaux, B.Sc.

     charles @ reptile.ca
     supercanadian @ gmail.com

     developer weblog: http://ChangeLog.ca/
 Ask the toughest Linux System questions at...   http://linuxmanagers.org/

More information about the whatwg mailing list