W3C home > Mailing lists > Public > ietf-http-wg@w3.org > January to March 2010

Re: Past Proposals for HTTP Auth Logout

From: Bil Corry <bil@corry.biz>
Date: Fri, 29 Jan 2010 01:42:38 -0800
Message-ID: <4B62AD8E.1060509@corry.biz>
To: Yutaka OIWA <y.oiwa@aist.go.jp>
CC: Tim <tim-projects@sentinelchicken.org>, ietf-http-wg@w3.org
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 06:51:16 GMT