Quickly and without combining, for example, we do a new folder LOGOUT and throw to him .htaccess files with some virtual user:
AuthName "protected area"
Access allow all users Logout
set the error page 401
ErrorDoc 401 "protected area"
and set a link to our new folder <a href="./logout/">logout</ a>
... when I click on enter into a virtual folder with a security dialog to confirm the login without supplying a user name and password and are logged off. Works on FF, IE, Opera ...
----
Server IP: 195.114.0.19
Probable Submitter: 178.235.134.135
----
Manual Page -- http://www.php.net/manual/en/features.http-auth.php
Edit -- https://master.php.net/note/edit/102782
Del: integrated -- https://master.php.net/note/delete/102782/integrated
Del: useless -- https://master.php.net/note/delete/102782/useless
Del: bad code -- https://master.php.net/note/delete/102782/bad+code
Del: spam -- https://master.php.net/note/delete/102782/spam
Del: non-english -- https://master.php.net/note/delete/102782/non-english
Del: in docs -- https://master.php.net/note/delete/102782/in+docs
Del: other reasons-- https://master.php.net/note/delete/102782
Reject -- https://master.php.net/note/reject/102782
Search -- https://master.php.net/manage/user-notes.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.