note 19290 added to features.http-auth
| From: | lenny at phpkingdom dot com | Date: | Fri, 22 Feb 2002 05:09:58 +0000 |
| Subject: | note 19290 added to features.http-auth | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-26920@lists.php.net to get a copy of this message | ||
I tried the method posted by
tigran@freenet.am for a logout feature, which seems to be a problem for users of http
authentication. Tigran's method is perfect, except that after you log out, you can STILL access
the pages by clicking on "cancel" when prompted again by the Java window.
This will trigger the 401 error. But it will also create an entry in the history folder.
You will notice the "forward" button on your browser becomes clickable. You only have to
click on the that "forward" button to be able to access the protected pages.
I have found a solution for this problem by using a little Javascript to refresh to another page.
Please go to my website for details:
http://www.phpkingdom.com/source/authentication/auth.phps
--
http://www.php.net/manual/en/features.http-auth.php
http://master.php.net/manage/user-notes.php?action=edit+19290
http://master.php.net/manage/user-notes.php?action=delete+19290
http://master.php.net/manage/user-notes.php?action=reject+19290