Posted on 2000-01-27
IM just getting started with phplib and have created a simple code like below.
// $auth= unauth($nobody=false);
// $auth = logout();
I get the user/pass dialog, and if i enter an user that doesnt have admin i get the
Your session 344e8c2385b4106154faaaf5c07f0abd has been authenticated with a user id of 6943ed4b9358bd176277c5212e3d43bb and a user name of j2.
To access this page, the following permissions are required: admin.
I won't let you access this page, because you have these permissions: .
However, from this point on, reloading the page gives me the above dialog, i am never asked to re-auth. (running IE5, set to "check page on every load")
1. How do i return to the login screen if the above happens?
2. How do i log a user out? Neither $auth= unauth($nobody=false); or $auth = logout(); Seems to work.
(yes, i know they are commented out in the above code, im trying to fix the auth dialog thing first)