Re: PHP logout

From: Date: Thu, 06 Jul 2000 11:00:57 +0000
Subject: Re: PHP logout
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-5197@lists.php.net to get a copy of this message
As far as your method goes sending 401 response header should do the business, if you were to use cookies, you could then force its expiration by sending empty cookie by the same name. On Thu, 6 Jul 2000, Jeffrey Barendse wrote: > Date: Thu, 6 Jul 2000 13:01:54 +0200 > From: Jeffrey Barendse <jeffrey@wireitup.nl> > To: php-general@lists.php.net > Subject: [PHP] PHP logout > > How do I logout? I have authenticated a user a script: > > header('WWW-Authenticate: Basic realm="ClanPoint user login"'); > header('HTTP/1.0 401 Unauthorized'); > echo 'Authorization Required.'; > exit; > > It al works fine. But is there a command to logout? > > Regards, > > Jeffrey Barendse > > > >

« previous php.general (#5197) next »