From: Richard Conroy Date: 2009-08-06T21:03:28+09:00 Subject: Re: How to logout when using Rake::Auth::Basic in Sinatra --001636c5a2a526da0a047077e8d8 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On Thu, Aug 6, 2009 at 4:18 AM, Tony Tony wrote: > > > So I get a window asking me to ender my credentials when going to > /protected and it logs me in. Once logged in though, I would like to be > able to log out. I know the solution to this must be super easy but I > just can't get it to work. > > Actually, this may be a limitation of HTTP basic authentication - there is no way to inform the browser that you wish for its credentials cache to expire. I am not certain of this, but I have seen this complaint raised before. You might want to follow this up and see if the problem is a general one, before banging your head trying to find a Sinatra specific solution. Richard --001636c5a2a526da0a047077e8d8--