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

Posted by Rob McAninch on 01/02/06 21:54

Matthieu Ebert>:

> 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.

Is this a site you want to give users the ability to logout from, or
do you want to logout from someone else's site?

You can't control someone else's site, so just close your browser.
Or perhaps your browser has an option to forget authentication
information.

If this is your site you want the feature for. Try
http://www.php.net/features.http-auth

But you may be better off using a more robust login method than
basic authentication. Typically these involve cookies with a session
id that times out.


--
Rob McAninch
http://rock13.com

 

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

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