[pmwiki-users] authuser
Hans
design at flutesong.fsnet.co.uk
Tue Jun 21 10:59:11 CDT 2005
Tuesday, June 21, 2005, 2:00:09 PM, Patrick wrote:
> Hmmmm. Well, if AuthenticateUser() is being called, then that
> indicates that it found the user id and password correctly.
> When you say "fails to open the page", do you mean that it
> returns to the password prompt?
yes, it seems to find the user and password, but returns to the
prompts. I expect @session_start(); does not do it.
I assume the script reinitialises the session with the new
authenticated user, so should not go back to the password prompts?
my debug was
function AuthenticateUser($authid) {
$GLOBALS['AuthId'] = $authid;
@session_start();
$_SESSION['authid'] = $authid;
echo $_SESSION['authid'];
}
and $_SESSION['authid'] gets echoed correctly.
Best,
~Hans
More information about the pmwiki-users
mailing list