note 37280 modified in features.http-auth by vrana
| From: | vrana@php.net | Date: | Tue, 17 Aug 2004 13:55:52 +0000 |
| Subject: | note 37280 modified in features.http-auth by vrana | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-79710@lists.php.net to get a copy of this message | ||
Here is a extremely easy way to successfully logout.
<?php
if ( $realm == '' )
$realm = mt_rand( 1, 1000000000 );
header( 'WWW-Authenticate: Basic realm='.$realm );
?>
To log the user out simply change the value of $realm
--was--
Here is a extremely easy way to successfully logout.
if ( $realm == '' )
$realm = mt_rand( 1, 1000000000 );
header( 'WWW-Authenticate: Basic realm='.$realm );
To log the user out simply change the value of $realm
http://php.net/manual/en/features.http-auth.php