You are here: Re: .htaccess Logout « HTML « IT news, forums, messages
Re: .htaccess Logout

Posted by Benjamin Niemann on 10/01/97 11:36

Matthieu Ebert wrote:

> Hi ,
>
> how can I , as a Site User (Visitor) when i loged in with .htaccess logout
> myself again without closing my browser. Do you know any solutions in PHP
> , send a Header or something.

I guess with 'logged in with .htaccess', you mean HTTP authentication.

There is usually no way to 'logout' except for closing the browser - the
words 'login' and 'logout' are in fact wrong when talking about HTTP
authentication, as HTTP is stateless and there is no user session to log
into or out of.

There is no way for a server tell a browser to forget the user credentials.
At least for FireFox the webdeveloper extension provides a menu option to
clear the user credentials, forcing the user to re-enter the credentials on
the next access (which is the closest thing to 'being logged out' HTTP can
offer).

--
Benjamin Niemann
Email: pink at odahoda dot de
WWW: http://www.odahoda.de/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация