[Home] [By Thread] [By Date] [Recent Entries]


"Elliotte Rusty Harold" wrote:

> At 3:32 PM +0000 1/8/04, Alaric B Snell wrote:
>
>>  and browsers don't seem to provide an accessible interface to "log 
>> out" by making the browser forget the username/password combo it has 
>> stored for the realm there and then at the click of a button.
>
> It is doable, at least in Mozilla, but you're right. It should be easier.

In IE6 (SP1 or later), you can do the following in javascript:

    document.execCommand('ClearAuthenticationCache',false,null)

Note: I believe this affects *all* current authenticated resources, not 
just the one you are on, so it's not a perfect solution.

Seairth

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member