"Jeremy Morano" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> Hi everone...
> I'm having a little problem. The code below pops up a password dialog box
> where the user types in a username and a password to be able to proceed.
> However, if the user does not close the browser and goes back to the link,
> which they pops up the diolog box again and they don't have to type in
there
> username and password again. They are remembered. I would like it so that
> the user has to type in there username and password any and every time
that
> the diolog box is called on. Doe anyone know how to do this?  I tried to
> clear the contents of PHP_AUTH_USER and PHP_AUTH_PW at the top of the page
> but that just messed things up. Can someone please help me?
>

> [some code]

>     header( 'WWW-Authenticate: Basic realm="Private"' );
>     header( 'HTTP/1.0 401 Unauthorized' );
>     echo 'Authorization Required.';
>     exit;
>

Wouldn't it be enough to randomly create a name for the realm?

/ Franklin



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to