Page 1 of 1
htaccess and logout
Posted: Wed Sep 25, 2002 9:05 am
by duda_y
I protect my Web Application tree wiht
.htaccess file of Apache.
Is there any way to make logout exept closing all browser windows.
Posted: Wed Sep 25, 2002 9:41 am
by Takuma
No there isn't anyway of logging out of that kind of thing

Posted: Wed Sep 25, 2002 10:10 am
by volka
you may send back a
401 Unauthorized to
encourage the browser to flush its login/pass-settings for this domain.
Couldn't you destroy the session?
Posted: Wed Sep 25, 2002 1:54 pm
by lanlord
I would think if you were using sessions using session_destroy() would do what you want.
Posted: Wed Sep 25, 2002 2:01 pm
by Takuma
You don't use sessions with .htaccess

It's HTTP authentication!
Posted: Thu Sep 26, 2002 4:44 am
by twigletmac
Takuma wrote:You don't use sessions with .htaccess

It's HTTP authentication!
It's not nice to laugh at other people's answers Takuma - you could have pointed that out without the

and maybe explained a bit better. lanlord was trying to help and may have never come across .htaccess or may have read the question wrong considering it's in the completely wrong forum for the subject (I've moved it to Miscellaneous now).
Mac