I am using HTTP authentication to restrict access to certain pages and I want to add a
logout option so that users must reauthenticate before being able to veiw the pages
again.
Here is the code I'm using to authenticate:
This page requires a user name and password to view.");
endPage();
On 08-May-01 Mauricio Souza Lima wrote:
>
> Cool, you have found another way!
> So the realm make diference? A user loged in a realm isn't the same in
> other realm? Very cool...
Not quite, the realm is a string to present to the login dialog box
it has no effect on the credentials in this exam
Cool, you have found another way!
So the realm make diference? A user loged in a realm isn't the same in
other realm? Very cool...
Explain better your solution to us.
Regards,
Don Read wrote:
>
> On 07-May-01 Mauricio Souza Lima wrote:
>
> > And you have to inform the user to clean the passwo
On 07-May-01 Mauricio Souza Lima wrote:
> And you have to inform the user to clean the password field, click ok,
> then the pop-up will open again, then user click in cancel.
>
> I just know that way to do. If anyone know another way, Postit!
>
create a tmp directory
logoff.php3:
/)
- GameDesign, the industry source for game design and development issues
> -Original Message-
> From: Robert Covell [mailto:[EMAIL PROTECTED]]
> Sent: Monday, May 07, 2001 9:14 AM
> To: Martín Marqués; elias
> Cc: [EMAIL PROTECTED]
> Subject: RE: [PHP] HTTP authentication :
Owner
Rolet Internet Services, LLC
Web: www.rolet.com
Email: [EMAIL PROTECTED]
Phone: 816.210.7145
Fax: 816.753.1952
-Original Message-
From: Martín Marqués [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 07, 2001 2:13 AM
To: elias
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] HTTP authentication : l
On Mar 08 May 2001 02:07, you wrote:
> Never tried it though...but can you try to empty or unset the
> $PHP_AUTH_USER/PWD ?
This doesn't work, thats why I use a login html page and sessions. :-)
Saludos... :-)
--
El mejor sistema operativo es aquel que te da de comer.
Cuida tu dieta.
-
$PHP_AUTH_USER = "";
$PHP_AUTH_PW = "";
Ought to do it.
> From: Thomas Edison Jr. [mailto:[EMAIL PROTECTED]]
> Sent: Monday, May 07, 2001 8:39 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] HTTP authentication : logout!!!
> Now i woul like to create a lo
It dont work, what you have to do is that:
In the logout.php:
--
Logout Sucessful
--
And you have to inform the user to clean the password field, click ok,
then the pop-up will open again, then user click in cancel.
I just know that way to do. If anyone know another w
Never tried it though...but can you try to empty or unset the
$PHP_AUTH_USER/PWD ?
-elias
http://www.eassoft.cjb.net
""Thomas Edison Jr."" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> i'm using http authentication for my php pages
> (members area). Once you
i'm using http authentication for my php pages
(members area). Once you login correctly, than you can
access anypage as the authentication box doesn't
pop-up.
Now i woul like to create a logout link after clicking
on which, whenever you click on a page using auth, the
auth box should pop-up agai
11 matches
Mail list logo