W3C home > Mailing lists > Public > public-xg-webid@w3.org > July 2011

SSL Logout possibility in Javascript

From: Henry Story <henry.story@bblfish.net>
Date: Sat, 2 Jul 2011 17:00:01 +0200
Message-Id: <B317F647-4090-49FF-BF91-3292C70A738D@bblfish.net>
To: "public-xg-webid@w3.org XG" <public-xg-webid@w3.org>, foaf-protocols@lists.foaf-project.org
In a conversation on a different mailing list, I discovered that SSL logout 
may be something that can be offered from the browser.

Has anyone tried the javascript below?

Henry

On 2 Jul 2011, at 16:01, A. Rundgren wrote on a different list:

> In addition, TLS client-certificate-authentication is at least in MSIE
> downright user-hostile and requires restart if you do something wrong.
> There is not even an agreed upon logout scheme for browsers!
> 
> Extract from a web-app of mine:
> 
>     if (document.all == null) // FF, Opera, etc
>       {
>          if (window.crypto) window.crypto.logout();
>       }
>     else // MSIE 6+
>       {
>          document.execCommand('ClearAuthenticationCache');
>       };

Social Web Architect
http://bblfish.net/
Received on Saturday, 2 July 2011 15:00:31 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:06:25 UTC