Tuesday, June 21, 2005, 8:22:02 PM, Hans wrote:
> Re: setting $Author when using authentication prompt:
no need for the first global= $Author;
hack should be:
function AuthenticateUser($authid) {
$GLOBALS['AuthId'] = $authid;
@session_start();
$_SESSION['authid'] = $authid;
$GLOBALS['Author'] = $authid;
setcookie('author',$Author,0,'/');
}
Best,
~Hans