XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).
Moderator: General Moderators
duda_y
Forum Newbie
Posts: 6 Joined: Mon Sep 02, 2002 10:39 am
Location: Argentina
Post
by duda_y » Wed Sep 25, 2002 9:05 am
I protect my Web Application tree wiht
.htaccess file of Apache.
Is there any way to make logout exept closing all browser windows.
Takuma
Forum Regular
Posts: 931 Joined: Sun Aug 04, 2002 10:24 am
Location: UK
Contact:
Post
by Takuma » Wed Sep 25, 2002 9:41 am
No there isn't anyway of logging out of that kind of thing
volka
DevNet Evangelist
Posts: 8391 Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger
Post
by volka » Wed Sep 25, 2002 10:10 am
you may send back a
401 Unauthorized to
encourage the browser to flush its login/pass-settings for this domain.
lanlord
Forum Newbie
Posts: 13 Joined: Wed Sep 18, 2002 10:02 am
Post
by lanlord » Wed Sep 25, 2002 1:54 pm
I would think if you were using sessions using session_destroy() would do what you want.
Takuma
Forum Regular
Posts: 931 Joined: Sun Aug 04, 2002 10:24 am
Location: UK
Contact:
Post
by Takuma » Wed Sep 25, 2002 2:01 pm
You don't use sessions with .htaccess
It's HTTP authentication!
twigletmac
Her Royal Site Adminness
Posts: 5371 Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK
Post
by twigletmac » Thu Sep 26, 2002 4:44 am
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