logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in  RSS Apache Lounge  


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.



Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Chance for Logout?
Author
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 6673
Location: Germany, Next to Hamburg

PostPosted: Wed 08 Feb '06 15:25    Post subject: Chance for Logout? Reply with quote

Is there a chance to logout with Apache? The login via .htaccess or even PHP by send the 401 Header is very simple. But I didn't find a logout chance. The three ways I found are very ugly.


  • Closing the Browser -> not good.
  • Send a 403 or 401 Header -> Login comes again and ppl login again Confused
  • Overwrite User and psw -> ppl also login again
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 2761
Location: Hilversum, NL, EU

PostPosted: Wed 08 Feb '06 16:32    Post subject: Reply with quote

I think that it is how it works. warn users to close all browser windows.
In a script you can login/logout, using cookies/sessions, like this forum.

Steffen
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 6673
Location: Germany, Next to Hamburg

PostPosted: Wed 08 Feb '06 16:39    Post subject: Reply with quote

With PHP no doubt. I use sessions. But .htaccess. I can't reset. Or is threre a function to reset the env $_ENV['REMOTE_USER'] ?

putenv("REMOTE_USER="); Didn't helped me.
Back to top


Reply to topic   Topic: Chance for Logout? View previous topic :: View next topic
Post new topic   Forum Index -> Apache