Re: Front Page User Logout

From: Date: Thu, 04 Sep 2003 21:08:19 +0000
Subject: Re: Front Page User Logout
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-161693@lists.php.net to get a copy of this message
I'm only accessing the result of the user logging in through $GLOBALS["PHP_AUTH_USER"] I've tried unsetting that but it doesn't change anything. The only thing that logs a user out is them closing their browser and reopening it. I'd like a user to be able to switch usernames by clicking a link that would accomplish the same thing that closing the browser does. Perhaps I need clientside scripting for this? Thanks, --John "Jay Blanchard" <jay.blanchard@niicommunications.com> wrote in message news:C8F323573C030A448F3E5A2B6FE2070B01AFA798@nemesis... [snip] How can I provide a link which will log the current user out so that they will be prompted again to login. I'm using frontpage authentication on an apache server. I'm using PHP4 to build the pages. [/snip] Are you taking the frontpage variables into PHP? If so you can unset() those variables.

« previous php.general (#161693) next »