How can i make it like this: a person joined the website and automatically signs into the website and goed to the members page. I have the following code (from join.php), but it onlly goes to the page but doesn't log on.
function showFinishPage( $iMemID, $sStatus ) {
switch( $sStatus ) {
case 'Active': header("Location: member.php?ID=$iMemID"); break; //activated automatically
case 'Approval': $sStatusText = ('_USER_CONF_SUCCEEDED'); break; //automatically confirmed
case 'Unconfirmed': $sStatusText = ('_EMAIL_CONF_SENT'); break; //conf mail succesfully sent
case 'NotSent': $sStatusText = ('_EMAIL_CONF_NOT_SENT'); break; //failed to send conf mail
}
echo _t( '_Join complete' );
echo '<br />';
echo _t( $sStatusText );
}
