Re: Past Proposals for HTTP Auth Logout

Yutaka OIWA wrote on 1/12/2010 6:06 AM: 
> Tim <tim-projects@sentinelchicken.org> writes:
>> However, it probably doesn't make sense to define a new 2XX code, now
>> that I think about it more.  The same could be achieved by a simple
>> header in a 200 OK response.  The key here, is to use a 2XX of some
>> kind so that if a browser doesn't support the new header, it'll just
>> ignore it and developers can use AJAX hacks in the body to achieve the
>> same end in popular browsers during the transition period. 
>>
>> Would something like this work with your new protocol?
> 
> I don't know much about a AJAX hack

Here's an example of using AJAX to log out a user via HTTP Auth:

 http://www.corry.biz/logout_demo/


- Bil

Received on Friday, 29 January 2010 09:43:08 UTC