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

Apache Lounge is not sponsored.

Your donations will help to keep this site alive and well, and continuing building binaries.



Chance for Logout?

 
Post new topic   Reply to topic    Apache Forum Index -> Apache



View previous topic :: View next topic  
Author Message
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 6255
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: 2581
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: 6255
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


Post new topic   Reply to topic    Apache Forum Index -> Apache
Page 1 of 1