Quoting Sn!per <sniper at home.net.my>: > $_SESSION['imp']['pass'] = Secret::write(Secret::getKey('imp'), > $UREG_newPassword); Sorry, $UREG_newPassword is the variable that holds the new password. -- roger --------------------------------------------------- Sign Up for free Email at http://ureg.home.net.my/ ---------------------------------------------------